On 1/9/2014 4:30 PM, Marco Patzer wrote:
On 2014–01–09 Marco Pallante wrote:

How do I use LuajitTeX?

   context --jit <file>

I've seen the two options --jit and --jiton
which seem to be the right way. Am I right?

context --help | grep jit

   --jit    use luajittex with jit turned off (only use the faster virtual 
machine)
   --jiton  use luajittex with jit turned on (in most cases not faster, even 
slower)

I've never come across a real world document where --jiton was
faster than --jit, so just stick with --jit.

in fact we found that --jiton is slower ... just use --jit and benefit from the faster virtual machine (the fact that jitting can slow down gets obscured by the fact that the vm is twice as fast); i guess that the context lua codebase is too large to benefit from jit and also hardly uses jitabble built-in functions (much if that is hardcoded in jit) and the amount of calls is too low to trade off jitting and using (we don't do number crunching or have applications running for more than a few seconds)

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to