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

Re: zsh-3.0-pre1: speed up the "list-choices" etc.



SUZUKI Hisao wrote:
> etc. by improving the z-shell.  It is `nicezputs' in Src/utils.c
> that displays the string of completion list, and its current
> implementation calls `fputs' for each character in the string.
> Modifying Src/utils.c so that `nicezputs' calls `fputs' once for
> all characters, the speed becomes tolerable even on the slow
> terminal.

The speed difference should not be noticeable if the output goes to a
buffered stream.  If the output is not buffered that's really a bug.

Zoltan




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