- May
- 239
- 2
I've noticed that loading the saved history at TCMD init takes about 2 seconds on my machine (which has quite a fast i7 processor and plenty of memory).
I use "HISTORY /R1 history.sav" to load it. (Using /R option instead takes about 10 seconds).
My history size is set to the maximum value; 270,336. The history.sav file produced by SHRALIAS on unload is 558,758 bytes. (It saves it in UTF-16 encoding).
It seems to me that loading such a (relatively) small file into a memory buffer on a modern machine (with SSD) should hardly take so long. (Running WC on the file takes 0.01 seconds).
Could there be something sub-optimal with my config or is the problem with HISTORY? Perhaps it does extra processing when reading the lines or have to frequently reallocate memory when more lines are read.
(I use a shared history for all TCC instances with SHRALIAS)
I use "HISTORY /R1 history.sav" to load it. (Using /R option instead takes about 10 seconds).
My history size is set to the maximum value; 270,336. The history.sav file produced by SHRALIAS on unload is 558,758 bytes. (It saves it in UTF-16 encoding).
It seems to me that loading such a (relatively) small file into a memory buffer on a modern machine (with SSD) should hardly take so long. (Running WC on the file takes 0.01 seconds).
Could there be something sub-optimal with my config or is the problem with HISTORY? Perhaps it does extra processing when reading the lines or have to frequently reallocate memory when more lines are read.
(I use a shared history for all TCC instances with SHRALIAS)