[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Boxed userdata and garbage collector
- From: Henk Boom <henk@...>
- Date: Fri, 3 Sep 2010 02:12:27 -0400
On 3 September 2010 01:51, Sylvain Fabre <sylvain.fabre@inpixal.com> 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.
henk
- References:
- Boxed userdata and garbage collector, Sylvain Fabre
- Re: Boxed userdata and garbage collector, Florian Weimer
- Re: Boxed userdata and garbage collector, Sylvain Fabre
- Re: Boxed userdata and garbage collector, Jonathan Castello
- Re: Boxed userdata and garbage collector, Sylvain Fabre
- Re: Boxed userdata and garbage collector, Jonathan Castello
- Re: Boxed userdata and garbage collector, Ted Unangst
- Re: Boxed userdata and garbage collector, Peter Cawley
- Re: Boxed userdata and garbage collector, Ted Unangst
- Re: Boxed userdata and garbage collector, Peter Cawley
- Re: Boxed userdata and garbage collector, Ted Unangst
- Re: Boxed userdata and garbage collector, Michal Kottman
- Re: Boxed userdata and garbage collector, Sylvain Fabre