[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Reuse of userdata?
- From: Mark Hamburg <mhamburg@...>
- Date: Fri, 09 Jan 2004 22:35:25 -0800
on 1/9/04 4:39 PM, Adam D. Moss at adam@gimp.org wrote:
> If you create a new reference to the object within the __gc
> callback then the object will safely survive the GC.
I hadn't realized that Lua supported resurrection. That's potentially good
from an allocation speed standpoint and bad from the standpoint that it
makes the semantics more complicated. Is the resurrected object eligible for
repeat finalization?
Mark