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: Dale R. Worley
Subject: Re: Slow history load with some values of HISTSIZE
Date: Mon, 05 Feb 2024 12:08:53 -0500

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.

Dale



reply via email to

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