\input gets slower after each \input

Phelype Oleinik phe.h.o1 at gmail.com
Tue Apr 27 19:33:47 CEST 2021


On 27/04/2021 14:25, barbara beeton wrote:
> On Tue, 27 Apr 2021, Phelype Oleinik wrote:
>>
>> My questioning is if the space saved by reusing some chunks of the
>> string pool is worth the time taken to search through it...
> 
> It certainly wasn't worth it when memory was at a premium; any space
> saved would have been (more than) consumed by the code necessary to
> accomplish it.

Oh well :-)

>> Speaking of which: if a string is reused when found in the pool, why
>> does the example runs out of string space?  Shouldn't it reuse always
>> the same string?
> 
> It's been literally decades since the limitation was discovered at AMS,
> and even if the explanatory correspondence has survived, I no longer
> have access to it, and am not up to digging through the WEB code.

No need to, I may end up doing that myself... eventually

Thanks,
Phelype


More information about the tex-live mailing list.