emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs trying to load too many files at startup


From: Stefan Monnier
Subject: Re: emacs trying to load too many files at startup
Date: Sun, 20 Nov 2005 12:12:14 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> There are about 2400 stat syscalls during the startup. 
> emacs-21.4 does about 230 stat64 syscalls... 

We should be able to bring those way down:

1 - just before dumping, turn things like "lisp-mode.elc"
    into "emacs-lisp/lisp-mode.elc".  This requires many stat calls but
    who cares.
2 - at startup blindly prepend /foo/bar/22.0.50/lisp/ to each and every
    non-absolute item in load-history.  No stat calls here.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]