lua-users home
lua-l archive

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


Hi,

One practical issue currently with Lua's GC is it slack of knowledge
about memory held by userdata objects. This makes the GC calculation
pretty erroneous - and userdata objects are pretty common I presume.
Is there a way to make the GC aware of the memory held by a userdata
object - maybe through an C API call?

In my view this would be a very useful enhancement to Lua.

Thanks and Regards
Dibyendu