[lltx] [luatex] pattern loading in luatex

Hans Hagen pragma at wxs.nl
Sat Mar 5 22:34:18 CET 2011


On 5-3-2011 7:24, Manuel Pégourié-Gonnard wrote:

> So, unless I missed something, it looks like pattern processing with LuaTeX
> takes almost twice the times is takes with pdfTeX. Not sure if it is related to
> the generation of the fall-back states you mention or some other change in the
> internal code.

(1) the internal code is different
(2) the machinery is utf (large numbers internally)
(3) patterns are utf

in general the luatex machinery is slower than pdftex (upto two times, 
depending on what you do) which is mostly due to the fact that pdftex is 
8 bit

in context mkii we are using utf encoded patterns and there loading 
patterns in pdftex is definitely slower than in xetex and luatex simply 
because in pdftex one has to parse

(also, it depends on the language, for instance, russian has large slow 
loading patterns)

Hans



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the lualatex-dev mailing list