lua-users home
lua-l archive

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

How could I estimate how much C stack Lua will use? I'll have this situation:

 C++ --> lua_pcall(script) --> C_functions --> C++_global_functions --> etc.

I assume the Lua stack resides on the C heap so it doesn't have any effect on 
the C stack (correct?).
Is C stack usage by the Lua interpreter more or less constant, or does it 
depend heavily on the script's contents?