lua-users home
lua-l archive

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


>    - Lua itself use very little stack space (coroutine stacks are allocated
>    in the heap). The compiler, however, can consume quite a lot of stack while
>    generating bytecode, typically much more than the bytecode will use when
>    interpreted. Precompiling therefore lets us reserve less RAM for the stack.

As a side note, we hope Lua 5.2 will reduce much of this stack use by
the compiler.

-- Roberto