[Dev-luatex] Dump sharing - redundant copying/allocations

Hans Hagen j.hagen at xs4all.nl
Wed Jul 21 16:01:35 CEST 2021


On 7/21/2021 3:13 PM, Petr Olsak wrote:
> Hello,
> 
> IMHO, the TeX engine can save a flag about Endianity to the format. When 
> a TeX engine reads such a format then it can check the current Endianity 
> with the saved one and do swapping only if they are different. But this 
> idea was'nt implemented: all formats use non-Intel Endianity (by 
> decision of develpers), so swapping are processed very often.
> 
> Moreover, saving lua bytecode to the format does not support different 
> architectures (It was mentioned in this thread too). IMHO, the classical 
> message "I am stymied" should be sufficient when a TeX engine reads a 
> format generated at different architecture.
luatex already has additional checking and would not load a format ... a 
saved version number for instance would come out differewnt in a non 
matching endian so as far we know we're okay

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