lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> I would like to change the LUAL_BUFFERSIZE to e.g. 256 but I do not
> know how much will be the performance penalty from it  [...]

That should cause no detectable penalty for simple scripts.


> [...] or even if lua can be running with tasks less than 4K (just only
> simple scripts, no recursion...).

You may need to change a few other constants besides buffer size. But
first try it. Recursion should not be a problem; Lua calls do not use
C stack. The compiler uses some C stack, so you may have problems with
nested functions.

-- Roberto