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

Re: ZSH performance regression in 5.8.1.2-test



On Mon, Apr 25, 2022 at 11:26 AM Jordan Patterson <jordanp@xxxxxxxxx> wrote:
>
> This recent fix has led to a performance regression in zsh: 49792:
> Non-interative shell input is line buffered.

Hm.  If we use stdio for speed, we have memory management re-entrance
issues that can lead to a crash.

If we use direct read of more than one character at a time, we can't
enforce line buffering.

Is there a way we can detect the case where we need to line-buffer and
avoid it otherwise?




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