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

Re: Bug#468386: zsh-beta: Slow command completion



Clint Adams wrote:
> On Thu, Feb 28, 2008 at 06:03:41PM +0100, Romain Francoise wrote:
> > zsh-beta's command cache is apparently broken: completing a command
> > twice takes the same amount of time both times, whereas in zsh4
> > (from the zsh package) the first completion takes a few seconds and
> > subsequent completions are much faster.
> 
> This looks to be a side effect of 24570. Any ideas?

Limit the extra information for commands to people who *really* want it,
by using another style ("extra_verbose") with an appropriate warning
in the doc that this level of verbosity has speed implications.  The
style is then reusable if this crops up elsewhere.

Bart may have more drastic suggestions...

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



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