[luatex] Catcode table efficiency

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Jun 17 16:13:17 CEST 2015


On 17/06/2015 15:09, Hans Hagen wrote:
> 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

Didn't really make sense to me either but I thought I should check.
We'll got with a slightly less complex approach then.
--
Joseph Wright



More information about the luatex mailing list