lua-users home
lua-l archive

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


If you are using lua 4 you probably want to look at the "stackless"
patch, available from http://lua-users.org/wiki/LuaPowerPatches. I'm
not familiar with lua 5, so can't say if lua 5 is already stackless.

On Wed, 12 Jan 2005 16:43:51 -0200, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
> > I'm posting this for two reasons.  One, in case someone else runs into
> > a similar problem and is looking for a way to reduce stack usage.  And
> > two, to ask if anyone has any other tips for reducing stack usage.
> 
> The best approach is the one you already took: decrease MAXUPVALUES and
> MAXVARS. For "usual" programs these can be 16-32 or even lower.
> 
> -- Roberto
>