lua-users home
lua-l archive

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

> 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