lua-users home
lua-l archive

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


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