lua-users home
lua-l archive

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



On 5-Oct-06, at 6:39 PM, Glenn Maynard wrote:

If I needed to handle objects with Lua lifetimes, I might look for
a way to stash the reference somewhere else for the duration of the
call, though sticking it in the registry seems expensive for every
method dispatch.

Leaving it on the stack is very cheap, though :)