Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: "Once-a-day" long delay before startup



On 2011-08-14 17:36:05 +0200, Vincent Lefevre wrote:
> I have a similar problem on my Mac OS X machine after doing a disk or
> memory intensive operation (AFAIK), but I haven't had the time to look
> at it yet. I wonder whether this comes from the code that builds the
> command hash.

I had a "locale -a" for automatic locale detection and settings,
which could be very slow. I now avoid it, but zsh startup is still
a bit slow at the first command that is in a directory with more
than 2000 commands[*] (unless the data are in the disk cache).

So, I suggest anyone who sees intensive dist access to look at
such problems.

[*] Test done after a "svn st" in a large working copy.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)



Messages sorted by: Reverse Date, Date, Thread, Author