On Mon, Feb 23, 2009 at 9:26 PM, Alan Stone
On Mon, Feb 23, 2009 at 8:57 PM, Alan Stone
wrote: On Mon, Feb 23, 2009 at 6:54 PM, Wolfgang Schuster
wrote: Am 23.02.2009 um 18:16 schrieb Alan Stone:
- does using \doifundefined{myMacro}{...} shorten tex runs/compile time ?
In which way?
As I don't know/understand what happens between (Lua)TeX runs, to keep macro definitions in memory.
Correction: to avoid spending time redefining macros in case their definitions are kept in memory between Lua(TeX) runs.
$>context test.tex is roughly finish :=false while not(finish): run_luatex_with_context_format_on_file(test.tex) where run_luatex_with_context_format_on_file(filename) is my imaginary name that run luatex (for example on my system luatex --fmt="/opt/luatex/minimals/tex/texmf-cache/luatex-cache/context/4330c3ed7721ca11f9d108c60c58eea4/formats/cont-en" --lua="/opt/luatex/minimals/tex/texmf-cache/luatex-cache/context/4330c3ed7721ca11f9d108c60c58eea4/formats/cont-en.lua" "./test.tex" ) but also check conditions to that change finish to true and possible write intermediate files. So,as far I know, each run is a new process: there is no a master process that spawns new children , and no definitions are kept in memory between Lua(TeX) runs. -- luigi