From bug-request at octave dot org Fri Apr 7 19:16:41 2006 Subject: finding everything fast From: "Tom Holroyd (NIH/NIMH) [E]" To: bug at octave dot org Date: Fri, 07 Apr 2006 20:14:42 -0400 With a recent CVS 2.9.5+ dated today, I did the following: $ strace octave .... octave:4> tic;toc and found that it's searching the entire LOADPATH, every time. These system calls are very slow. Example: access("/usr/local/share/octave/2.9.5+/m/control/system/clock.oct", R_OK) = -1 ENOENT (No such file or directory) Many many unsuccessful probes. I'd like to help clean the cache code if there's a problem with that. This is what's slowing things down on the cluster. ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------