lua-users home
lua-l archive

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

On 3 September 2010 01:51, Sylvain Fabre <> wrote:
> At the end, and after reading all your contributions, i think that the
> perfect solution still remains the integration of 2 new actions in the
> lua_gc call, allowing to increase/decrease externally the LUA internal
> memory counter.

Maybe the ability to set both the real and 'apparent' size when
allocating a udata would be easier to manage. That way you wouldn't
need to manually decrease the counter on collection.