[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: GC and userdata objects
- From: Dibyendu Majumdar <mobile@...>
- Date: Wed, 11 Apr 2018 10:17:42 +0100
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