emacs-devel
[Top][All Lists]
Advanced

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

Re: CVS Emacs on Windows XP takes 60 seconds to start


From: Stefan Monnier
Subject: Re: CVS Emacs on Windows XP takes 60 seconds to start
Date: Wed, 03 Sep 2008 10:30:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> Beyond that, I intend to make changes in the code such that the file
> security information is requested only when the caller of `stat'
> really needs that.  The absolute majority of `stat' calls during
> startup come from functions like `file-exists-p' and `load' (via
> `openp') that only need to know if the file exists and is a
> directory.  I want to modify code so that Emacs doesn't even try to
> call lookup_account_sid on behalf of these callers.  This should bring
> down the startup time even for situations such as yours, where a
> firewall blocks access to LDAP.

Making it lazier is probably a good idea, but if the info will
eventually be needed anyway, maybe we should also eagerly featch this
info (asynchronously).  After all, even a 10s delay is quite noticeable.


        Stefan





reply via email to

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