[Rd] str() with attr(*, "names") is extremely slow for long vectors
Gerhard Thallinger
Gerhard.Thallinger at tugraz.at
Wed May 17 13:27:10 CEST 2006
>>>>> "MartinM" == Martin Maechler maechler at stat.math.ethz.ch
>>>>> Sat, May 13 2006 15:16:19 +0200 writes:
MartinM> But have you looked at R 2.3.0-patched at all?
MartinM>
MartinM> I did acknowledge that str(<long character>) had become
MartinM> unacceptably slow, and had implemented a simple patch
MartinM> almost "immediately".
> Yes, I did. Here are the timings (WinXP 1.8 GHz):
> R 2.3.0 Patched (2006-05-11 r38037)
>
> 1. 44.09 0.09 44.45 NA NA
> 2. 34.96 0.08 35.66 NA NA
> 3. 34.52 0.07 34.81 NA NA
When I made the test I used an incomplete version of R patched (the
new version of the utils package was missing). With the complete
version of R patch the timings are now the same as with R 2.2.0.
Gerhard
------------------------------------------------------------------------
DI Gerhard Thallinger E-mail: Gerhard.Thallinger at tugraz.at
Institute for Genomics and Bioinformatics Web: http://genome.tugraz.at
Graz University of Technology Tel: +43 316 873 5343
Petersgasse 14/V Fax: +43 316 873 5340
8010 Graz, Austria Map: http://genome.tugraz.at/Loc.html
More information about the R-devel
mailing list