[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Discussing Lua compiling
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 25 Apr 2011 09:32:36 -0300
> - 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