[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua C Stack Usage
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 12 Jan 2005 16:43:51 -0200
> 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.