lua-users home
lua-l archive

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


> btw each "loop" in the call chain seems to consume something
> 700 bytes of (C++) stack space -  luaV_execute appears to be the main
> consumer. This is all when compiling C++ with debugging options,
> I don't know if "release" options change this.

In my machine the chain seems to consume 256 bytes. That gives ~16 words
per function, a reasonably number (each function uses 2 words for ebp
and return address, plus 3~5 words for saving working registers, plus
its arguments, local variables, and extra working space). Maybe the
release option optmizes your use.

-- Roberto