[R] Timings of function execution in R [was Re: R in Industry]
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Feb 9 19:16:14 CET 2007
On Fri, 9 Feb 2007, Frank E Harrell Jr wrote:
[...]
> I looked in all the code for the Hmisc and Design packages and didn't find a
> single example where pmin or pmax did not have 2 arguments. So I think it is
> important to have pmin2 and pmax2.
Why? Do you have any reason to suppose that these will be significantly
faster than the general case of 1 or more arguments? (The current code
fails obscurely for 0 args.)
What I am playing with are fast internal pmin.int and pmax.int for the
case of all atomic vectors and no classes.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list