[texhax] LaTeX enhancement
Calum Mackay
calum.mackay at cdmnet.org
Wed Sep 8 23:03:49 CEST 2004
William F. Adams wrote:
> As I understand it, for each file in the command above, there'll be an
> instance of loading a tex process into memory, processing a file, then
> unloading tex to repeat
On a UNIX system with a reasonably modern VM it should be more efficient
than this.
When a tex (or any other) process exits, its pages in memory won't be
"unloaded" but merely left alone. If memory becomes low in the future,
the VM page scanner will discard those pages later (if they've been
modified they will need to be paged out to storage first, of course)
When the next tex process starts up, the text and BSS pages it needs
should be sitting there in memory for it to use, from the previous
invocation.
Of course, there's more to fork/exec than just loading the code/data,
but not too much more.
cheers,
calum.
More information about the texhax
mailing list