Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh-3.0-pre1: speed up the "list-choices" etc.
- X-seq: zsh-workers 1557
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: suzuki@xxxxxxxxxxxxxx (SUZUKI Hisao)
- Subject: Re: zsh-3.0-pre1: speed up the "list-choices" etc.
- Date: Mon, 8 Jul 1996 03:43:48 +0200 (MET DST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <9607080038.AA01466@xxxxxxxxxxxxxxxxxxxxxxxxx> from SUZUKI Hisao at "Jul 8, 96 09:38:47 am"
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