[lltx] luatexbase.is_in_callback

Patrick Gundlach patrick at gundla.ch
Thu Jul 21 15:00:37 CEST 2011


Am 21.07.2011 um 14:56 schrieb Arno Trautmann:


>> Does it really differ (performance wise)?
> 
> After a short test on 300 pages of blindtext, it's about 0.4s, and actually below uncertainty …
> But I might want to construct some more complex functions, and then it may differ measureably. Besides, I just want to have nice code – that's what LuaTeX is about, no?

I strongly believe that the cleanest code without too many hacks is also the nicest code, even it slows down the process. So I'd call this solution close to 'perfect'.

Patrick




More information about the lualatex-dev mailing list