Why does Tex/Latex not speed up in subsequent runs?

Posted by Debilski on Stack Overflow See other posts from Stack Overflow or by Debilski
Published on 2010-04-28T00:49:16Z Indexed on 2010/04/28 0:53 UTC
Read the original article Hit count: 301

Filed under:
|
|
|

I really wonder, why even recent systems of Tex/Latex do not use any caching to speed up later runs. Every time that I fix a single comma*, calling Latex costs me about the same amount of time, because it needs to load and convert every single picture file.

(* I know that even changing a tiny comma could affect the whole structure but of course, a well-written cache format could see the impact of that. Also, there might be situations where 100% correctness is not needed as long as it’s fast.)

Is there something in the language of Tex which makes this complicated or impossible to accomplish or is it just that in the original implementation of Tex, there was no need for this (because it would have been slow anyway on those large computers)?

But then on the other hand, why doesn’t this annoy other people so much that they’ve started a fork which has some sort of caching (or transparent conversion of Tex files to a format which is faster to parse)?

Is there anything I can do to speed up subsequent runs of Latex? Except from putting all the stuff into chapterXX.tex files and then commenting them out?

© Stack Overflow or respective owner

Related posts about tex

Related posts about latex