Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: (bug report) Starting zsh takes ~5 seconds with the latest commits after 20th of September with big history file
- X-seq: zsh-workers 28313
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: (bug report) Starting zsh takes ~5 seconds with the latest commits after 20th of September with big history file
- Date: Sat, 2 Oct 2010 22:06:42 +0100
- In-reply-to: <101002130456.ZM8928@xxxxxxxxxxxxxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20100926181231.GA4616@arch> <100926131528.ZM407@xxxxxxxxxxxxxxxxxxxxxx> <20101002195855.24c882fa@pws-pc> <101002130456.ZM8928@xxxxxxxxxxxxxxxxxxxxxx>
On Sat, 02 Oct 2010 13:04:54 -0700
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Oct 2, 7:58pm, Peter Stephenson wrote:
> }
> } On Sun, 26 Sep 2010 13:15:27 -0700
> } Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> } > (2) implicitly turn that option off on the way through shell exit, so
> } > history rewrites/comparisons use faster processing.
> }
> } Sounds like the shell is already doing too much work here.
>
> I think by adding the (readflags & HFILE_FAST) test to the check for
> isset(HISTLEXWORDS), both problems are solved. Do that for commit?
i.e. !(readflags & HFILE_FAST) in that branch. I've done that. Should
have come back from holiday an hour later.
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author