emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs 23.0 is much slower starting than Emacs 22.3


From: Eli Zaretskii
Subject: Re: Emacs 23.0 is much slower starting than Emacs 22.3
Date: Fri, 24 Oct 2008 18:48:35 +0200

> From: Chong Yidong <address@hidden>
> Cc: "Eli Zaretskii" <address@hidden>,  address@hidden,  address@hidden,  
> address@hidden,  address@hidden
> Date: Fri, 24 Oct 2008 12:24:58 -0400
> 
> "Lennart Borgman" <address@hidden> writes:
> 
> > The system calls (file-attributes, file-exists-p and file-modes) takes
> > nearly twice as long time in Emacs 23 (on w32). For normal-mode the
> > factor is even bigger, 3-4 times longer time.
> 
> Could you try testing file-attributes, file-exists-p and file-modes in
> isolation, to see which one of the three are slower (or is it all
> three)?

They all call `stat', so on Windows they all are similarly expensive.

It is on my todo to request a cheap version of `stat' in almost every
function that calls `stat' except file-attributes and a couple of
others, which _really_ need the whole attribute set.




reply via email to

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