sperber(a)informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor]) writes:
Note this has nothing to do with packages. It's just core Lisp
which is causing the problem.
You are right. Here is an analysis:
* 20 stats related to various stuff, like binaries, /var/mail, etc;
* 59 stats related to packages (basically stat-ing directories in my
package path);
* 331 stats related to lisp/ directory, stat-ing every file in the
core lisp dir;
* 26 more random stats searching for info directories, lib-src, `etc',
and so on;
* 59 stats related to auto-autoloads. These are obviously unavoidable
and negligible, since the main overhead is probably in loading the
files, anyway;
* 84 stats related to searching for site-start{,.el,.elc};
* 80 stats related to searching for term/xterm{,.el,.elc}
Total: 659
The optimization fodder are the 331 stats due to term/, 84 stats
looking for site-start and 80 stats looking for xterm (or whatever
terminal type). If these 495 stats could be removed, we would be left
with 164 stats, which is well within the ballpark of 20.3 (102 stats)
and FSF Emacs (95 stats, but much less directories) and better than
20.2 (245 stats).
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
The end of the world is coming... SAVE YOUR BUFFERS!