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

Re: [PATCH] readhistfile: avoid thousands of lseek(2) syscalls via ftell()



On Thu, Feb 6, 2020 at 11:48 PM Michael Stapelberg
<michael+zsh@xxxxxxxxxxxxx> wrote:
>
> Before this change, zsh startup time was dominated by lseek(2) system calls on
> the history file

Curious.  I would have thought stdio buffering would mask most of the
need for lseek()ing by ftell().



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