Re: [Rd] table() and as.character() performance for logical values

2025-03-21 Thread Aidan Lakshman via R-devel
t including to potentially start discussion for optimization. For reference, the relevant section is in src/library/base/R/table.R:L75-85 -Aidan --- Aidan Lakshman (he/him) http://www.ahl27.com/ On 21 Mar 2025, at 8:26, Karolis Koncevičius wrote: > [You don't often g

Re: [Rd] `sort` hanging without R_CheckUserInterrupt()

2024-02-22 Thread Aidan Lakshman
nk you for the detailed answer, I appreciate it! -Aidan ------- Aidan Lakshman (he/him) www.AHL27.com On 22 Feb 2024, at 10:09, Martin Maechler wrote: >>>>>> Aidan Lakshman >>>>>> on Wed, 21 Feb 2024 15:10:35 -0500 writes: > >

[Rd] `sort` hanging without R_CheckUserInterrupt()

2024-02-21 Thread Aidan Lakshman
a long vector. This may not even be a problem that affects people, which is my main reason for inquiring. -Aidan --- Aidan Lakshman (he/him) www.AHL27.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman

[Rd] Errors in wilcox family functions

2024-02-12 Thread Aidan Lakshman
erbose email. Thanks again to Andrey for the writeup, and Andreas for pointing me to it. -Aidan --- Aidan Lakshman (he/him) www.AHL27.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] round.Date and trunc.Date not working / implemented

2024-02-08 Thread Aidan Lakshman
le odd that `round.POSIXt` does accept a `units` parameter, but `round.Date` does not. Adding that capability would be fairly simple, unless there are other reasons why it isn’t implemented. Just my quick thoughts. -Aidan --- Aidan Lakshman (he/him) http://www.ahl27.com/ On 8 Feb

Re: [Rd] cwilcox - new version

2024-01-17 Thread Aidan Lakshman
report, and I’m sure Andreas will add more information if necessary when his account is approved. Thanks again to Andreas for introducing this algorithm—I’m hopeful that this is able to improve performance of the wilcox functions. -Aidan --- Aidan Lakshman (he/him) PhD

Re: [Rd] cwilcox - new version

2024-01-16 Thread Aidan Lakshman
100 200 old version: 1.4us 0.9us 0.9us 43.2ms 851.6ms Andreas version: 2.3us 53.9us 1.0ms 16.4ms 261.7ms `pwilcox(1:100, 10, 10)`: old version: 62.9us Andreas version: 22.9us --- Aidan Lakshman (he/him) PhD Candidate, Wright Lab University of Pittsbur

Re: [Rd] cwilcox - new version

2024-01-16 Thread Aidan Lakshman
New email client, hoping that Outlook won’t continue to HTMLify my emails and mess up my attachments without my consent :/ I’m re-attaching the patch file here, compressed as a .gz in case that was the issue with the previous attachment. Thanks to Ivan for pointing out that my attachment didn’t