[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua C Stack Usage
- From: Paul Du Bois <paul.dubois@...>
- Date: Wed, 12 Jan 2005 17:45:46 -0800
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
> > 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