[luatex] Catcode table efficiency

Hans Hagen pragma at wxs.nl
Wed Jun 17 16:09:51 CEST 2015


On 6/17/2015 9:59 AM, Joseph Wright wrote:
> Hello all,
>
> In Heiko Oberdiek's luatex.dtx there is a note about catcode table
> allocation
>
>      % \item Large catcode table numbers should be avoided because of
>      %   performance breakdown.
>
> and this leads to that package implementing an allocation system whereby
> odd and even numbered tables are used for distinct purposes. Heiko's
> code is a few years old and I wonder if that comment still holds. It
> would be clearer to be able to split up tables by working from opposite
> ends of the available range, but that only makes sense if the top of the
> range is usable without a significant penalty.
>
> What's the current position?

i don't know that code but as a user of catcode tables i wouldn't worry 
too much about performance as it's quite okay (and i have no clue what 
the comment is about anyway)

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 luatex mailing list