by cbondurant · 1y ago · 0 comments
I use LaTeX as a tool for layout of books to print for hobby bookbinding and my current project - a 3 megabyte, 500k word beast of a novel - only takes around 10 seconds to compile.
I cant imagine what the friend of the author here had going on in his paper such that his compile times took such a hit. Required use of specific LaTeX libraries dictated by the journals he was submitting to that were written inefficiently? specific LaTeX features or packages that end up hitting significantly slower codepaths?
Makes me wonder if its not LaTeX itself that is the speed issue but instead the very maturity of the ecosystem that it has as advantage over Typst. It could entirely be possible that once Typst has the wide berth of features and functionality available through its ecosystem, that it would become just as easy to fall into compile time tarpits.
For further reference, a single-pass compilation of my thesis currently takes 25 seconds, and multiple passes are of course needed if the layout/bibliography changes. I ended up setting up TeXstudio to always compile only once for the preview, and then run the full N complications for the final build. That plus liberal use of \includeonly made compile times not that much of an issue