[luatex] [lpeg] increase MAXRULES
Dirk Laurie
dirk.laurie at gmail.com
Thu Feb 27 09:35:56 CET 2014
2014-02-27 8:49 GMT+02:00 Philipp Gesang
<philipp.gesang at alumni.uni-heidelberg.de>:
> ···<date: 2014-02-27, Thursday>···<from: Dirk Laurie>···
>> 2014-02-26 23:23 GMT+02:00 Philipp Gesang
>> > Could MAXRULES be increased to something above, say 400? That
>> > would make module usable again and there would be enough
>> > breathing room for further additions.
>> Somewhere in that lua-l thread 1024 was suggested, why stop at 400?
> Do greater values affect performance in some way, or just memory?
MAXRULES is the length of two arrays of type `int`. It can't possibly impact
performance to reserve more , and the memory overhead is minimal.
Of course, actually using that many rules could hit performance hard.
More information about the luatex
mailing list