[NTG-context] luatex on the garden

Hans Hagen j.hagen at xs4all.nl
Fri Aug 31 21:33:20 CEST 2018

On 8/31/2018 8:56 PM, Pablo Rodriguez wrote:
> On 08/31/2018 10:27 AM, Hans Hagen wrote:
>> [...]
>> A lot of work went into this release and we hope that it's worth it. I
>> will rmove some older code paths in a few weeks (less code that way) so
>> then beta's will assume the new binary is used.
> Many thanks for the new LuaTeX, Hans.
> I have used for a document (http://blog.ousia.tk/0005/#context-source),
> which hashes (with both SHA512 and SHA256) 38 external files.
> With the previous beta, it took about 160s to completely generate the
> PDF output (always with --purgeall). With the current beta, it only took
> 9.9s, which is a huge improvement.
> I know that this might be the most favorable case for the new LuaTeX
> improvements, but this is even faster than using the external binaries
> that the OS (Linux64 in this case) provides.
> This faster compilation could be also decreased when LuaJIT includes
> bitwise operators, couldn’t it be?

it's unlikely that that will happen (basically luajit stays 5.2 so 
eventualy we might have to drop it) but if you do some extensive testing 
you will notice that mkiv with luatex is not that much slower than 
luajittex on regular documents (definitely the gap is becoming less)

luajit(tex) has some built in knowledge about its bit functions so it 
can optimize them (just like math functions, which is why these 
calculating benchmarks work out so well)

in context we use bitwise operators in luatex and the bit functions when 
in luajittex (these operators are not used that frequently yet) and you 
don't want to know the details

> Many thanks for your excellent work again,


                                           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 ntg-context mailing list