[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C stack usage
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 1 Nov 2003 22:08:11 -0200
>I assume the Lua stack resides on the C heap so it doesn't have any effect on
>the C stack (correct?).
Starting with Lua 5.0, if this is largely true. In other words, if your script
does not call any C functions, then no C stack is consumed (except locally, to
execute bytecode instructions). Note, however, that if you use tag methods,
then you do use C stack, even if your tag methods are written in Lua.
--lhf