Skip to content
Prev 28634 / 63468 Next

RFC: What should ?foo do?

On Wed, 30 Apr 2008, Duncan Murdoch wrote:

            
There are some possible improvements as yet.  Hadley mentioned keeping 
binary indices -- we do per-package and could per-library.  Just opening 
1700 files can be quite slow on some systems -- this is one of the areas 
where you see the benefits of Unix-alike file systems.

A lot of the speed ups are generic, e.g. internal file.path.  I get
user  system elapsed
  10.948   2.620  37.808
user  system elapsed
   8.219   0.432  28.358

so there is room for improvement in help().  However, the re-run
user  system elapsed
   1.951   0.003   1.960

shows the benefits of caching.

(This is on a not particularly fast machine with all of CRAN and BioC 
installed, in UTF-8: and I know of some ways to improve performance in 
UTF-8.)

It's all a question of resources and who is prepared to contribute.
I sped help.search() up ca 3x because 100s was too slow for me -- 30s the 
first time in a session is OK.  (And incidentally disc caching means that 
the next session got
user  system elapsed
   7.180   0.246   7.627

, so the main issue is disc access.)