Re: [NTG-context] reducing compile time

2009-02-24 Thread Taco Hoekwater
Mohamed Bana wrote: maybe someone should research LuaJIT; http://luajit.org/ The fine print on LuaJIT: * Only x86 (i386+) CPUs are supported right now (but see below). That is the first, main reason why luajit is not included in luatex yet. The other reason is that we don't expect that much

Re: [NTG-context] reducing compile time

2009-02-24 Thread Hans Hagen
Mohamed Bana wrote: maybe someone should research LuaJIT; http://luajit.org/ lua vs luajit; http://shootout.alioth.debian.org/u32q/benchmark.php?test=alllang=luajitlang2=luabox=1 thoughts? i wonder if it makes much of a difference in the way we use lua; most time is currently spent on

[NTG-context] reducing compile time

2009-02-23 Thread Alan Stone
- does using \doifundefined{myMacro}{...} shorten tex runs/compile time ? - what are the features to avoid for shortest compile times ? -- Alan ___ If your question is of interest to others as well, please add an

Re: [NTG-context] reducing compile time

2009-02-23 Thread Wolfgang Schuster
Am 23.02.2009 um 18:16 schrieb Alan Stone: - does using \doifundefined{myMacro}{...} shorten tex runs/compile time ? In which way? - what are the features to avoid for shortest compile times ? Depends on your document and what do you want. To give you a better answer speak in complete

Re: [NTG-context] reducing compile time

2009-02-23 Thread Taco Hoekwater
Alan Stone wrote: - what are the features to avoid for shortest compile times ? Typesetting and macro expansion. Together they are good for at least 90% of your running time :) Seriously: it depends, but watch out for unnecessary use of \switchtobodyfont. Best wishes, Taco

Re: [NTG-context] reducing compile time

2009-02-23 Thread Alan Stone
On Mon, Feb 23, 2009 at 6:54 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 23.02.2009 um 18:16 schrieb Alan Stone: - does using \doifundefined{myMacro}{...} shorten tex runs/compile time ? In which way? As I don't know/understand what happens between (Lua)TeX runs,

Re: [NTG-context] reducing compile time

2009-02-23 Thread Alan Stone
On Mon, Feb 23, 2009 at 8:57 PM, Alan Stone software.list.1e...@gmail.comwrote: On Mon, Feb 23, 2009 at 6:54 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 23.02.2009 um 18:16 schrieb Alan Stone: - does using \doifundefined{myMacro}{...} shorten tex runs/compile time ?

Re: [NTG-context] reducing compile time

2009-02-23 Thread luigi scarso
On Mon, Feb 23, 2009 at 9:26 PM, Alan Stone software.list.1e...@gmail.com wrote: On Mon, Feb 23, 2009 at 8:57 PM, Alan Stone software.list.1e...@gmail.com wrote: On Mon, Feb 23, 2009 at 6:54 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 23.02.2009 um 18:16 schrieb Alan

Re: [NTG-context] reducing compile time

2009-02-23 Thread Wolfgang Schuster
Am 23.02.2009 um 20:57 schrieb Alan Stone: - does using \doifundefined{myMacro}{...} shorten tex runs/compile time ? In which way? As I don't know/understand what happens between (Lua)TeX runs, to keep macro definitions in memory. The only way to use information from a previous run

Re: [NTG-context] reducing compile time

2009-02-23 Thread Hans Hagen
Alan Stone wrote: - does using \doifundefined{myMacro}{...} shorten tex runs/compile time ? not that much - what are the features to avoid for shortest compile times ? most code is rather optimized you can best avoid redundant font switches

Re: [NTG-context] reducing compile time

2009-02-23 Thread Hans Hagen
Alan Stone wrote: Correction: to avoid spending time redefining macros in case their definitions are kept in memory between Lua(TeX) runs. i'm not sure what you mean, but defining a bunch of macros at runtime is not that time consuming Hans

Re: [NTG-context] reducing compile time

2009-02-23 Thread Mohamed Bana
maybe someone should research LuaJIT; http://luajit.org/ lua vs luajit; http://shootout.alioth.debian.org/u32q/benchmark.php?test=alllang=luajitlang2=luabox=1 thoughts? Alan Stone wrote: - does using \doifundefined{myMacro}{...} shorten tex runs/compile time ? - what are the features to