bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slow history load with some values of HISTSIZE


From: alex xmb sw ratchev
Subject: Re: Slow history load with some values of HISTSIZE
Date: Tue, 6 Feb 2024 01:29:50 +0100

On Mon, Feb 5, 2024, 18:09 Dale R. Worley <worley@alum.mit.edu> wrote:

> Casey Johnson <strykre@hotmail.com> writes:
> >     In a clean shell, execute:
> >             HISTFILE=alt-history.txt
> >             HISTSIZE=150000
> >             history -r
> >     and then observe how long the last command runs before returning.
>
> Though I expect that when you exit bash, the history file gets trimmed
> to 150,000 lines, and then the "over 10 seconds to load" doesn't happen
> again.
>

there is another HISTFILESIZE var
maybe ..

Dale
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]