search for: r41236

Displaying 1 result from an estimated 1 matches for "r41236".

Did you mean: 41236
2007 Apr 19
0
Feature request for 'sprintf' optimization (PR#9621)
...ystem.time(with(dat,sprintf("%04i-%03i",year,yday))) wcast <- system.time(with(dat,sprintf("%04i-%03i",as.integer(year), as.integer(yday)))) 100*wocast/wcast # as a percent comparison My results on a Debian VM with R-devel (r41236) have elapsed ratios of 63408%, and on Windows XP with R 2.4.1 of 23300%. Using a similar data frame to 'dat' except, much longer (using 1900:2100 for year; nrow=73365) result in ratios of 120775%. Certainly, the time of the 'sprintf' wrapper is dependent not only on processor and p...