[luatex] luatex's pause

Heiko Oberdiek oberdiek at uni-freiburg.de
Tue Apr 7 05:10:19 CEST 2009


On Tue, Apr 07, 2009 at 03:21:56AM +0200, Reinhard Kotucha wrote:

> What I absolutely don't understand is why pdfluatex and pdflualatex
> behave so different.

The problem are the hyphenation patterns:

Decompressed file sizes (gunzip):

  a) pdfluatex.fmt:   1857724 (hyphen.tex)             --> fast
  b) pdflualatex.fmt: 7589629 (language.dat of TL2008) --> pause
  c) pdflualatex.fmt: 1627382 (empty language.dat)     --> fast

Hyphenation patterns:
  a)  1
  b) 54
  c)  0

Also the .log file tells a big difference in memory locations:

  a)  32299 memory locations dumped; current usage is 108&5095
  b) 522086 memory locations dumped; current usage is 130&47943
  c)  48318 memory locations dumped; current usage is 130&46672

>From the manual:

| Only the string representation of \patterns and \hyphenation is stored in
| the format file. At format load time, they are simply re-evaluated. It
| follows that there is no real reason to preload languages in the format
| file. In fact, it is usually not a good idea to do so. It is much smarter
| to load patterns no sooner than the first time they are actually needed.

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>


More information about the luatex mailing list