[tldoc] Update default value of hash_extra

Hans Hagen j.hagen at xs4all.nl
Fri Dec 11 21:29:20 CET 2020


On 12/11/2020 7:56 PM, muzimuzhi Z wrote:
> Hi,
> 
> The TeX Live Guide—2020, sec. 7.3 Runtime options [1] says
> 
>  > The default value of hash_extra is 50000.
> 
> But this default value is now 600000. It was increased
>   - from 50,000 to 200,000 in texlive/r14629 [2], and then
>   - from 200,000 to 600,000 in texlive/r28382, in Aug 2012 [3].
> 
> Also, I'm not sure if the description
>  > Only ≈10,000 control sequences can be stored in the main hash table
> in the same section is still accurate or need an update too.

fwiw: those are direct entries, when there is no hit a chain is followed 
into either the regular hash or in extra (in luatex it's in extra with 
fallback to regular)

in luatex it's initial 65K and max 2097151 (relates to strings too so 
it's always topped)

> PS: It is Marcel Krüger's TeX-SX answer to question _tex.hashtokens 
> incomplete?_ [4] which leads me to find this typo.
this is indeed a known issue in luatex because we don't follow the chain 
(it's one of the things i want to backport from luametatex when i have 
time, maybe end of year)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the tldoc mailing list.