[Dev-luatex] Lua states and \dump
Jonathan Sauer
Jonathan.Sauer at silverstroke.com
Fri Sep 21 10:17:09 CEST 2007
Hello,
> > Yesterday I noticed that when \dump-ing a format file, the Lua
states
> > are not dumped as well, discarding all initializations made while
> > creating the format.
>
> this is the reason for the bytecode registers; these are
> saved; you can store luacode in there and initialize that at
> runtime (when the format is loaded); there is no pre-cooked
> behaviour, it's under your control; depending on the amount
> of code to be loaded, it makes sense to use this mechanism or
> not (loading lua code is rather fast)
Thanks for your answer! After reading up on bytecode registers
in the manual, one question is left, though:
How many of them are there? The usual 65536?
Thanks in advance,
Jonathan
More information about the dev-luatex
mailing list