Re: Slow history load with some values of HISTSIZE

2024-02-09 Thread Chet Ramey
On 2/3/24 3:29 PM, Casey Johnson wrote: Bash Version: 5.1 Patch Level: 16 Release Status: release Description:   The current implementation of the command history takes a long time to load   a large HISTFILE when history is stifled. This is because there is a   memmove() for ever

Re: Slow history load with some values of HISTSIZE

2024-02-09 Thread alex xmb sw ratchev
On Sat, Feb 10, 2024, 03:06 Chet Ramey wrote: > On 2/3/24 3:29 PM, Casey Johnson wrote: > > > Bash Version: 5.1 > > Patch Level: 16 > > Release Status: release > > > > Description: > > > > The current implementation of the command history takes a long time to > load > > a large HISTFILE when hist