Rioshin an'Harthen wrote:
"Leandro Lucarella" <[email protected]> kirjoitti viestissä
news:[email protected]...
BTW, is there any real interest in adding some more power to the GC
implementator to allow some kind of moving or generational collector?
What I mostly want/need from the GC would be determinism. I want to be
able to call delete on a subobject in the destructor of the object being
deleted.
How many times have I stumbled on this already?
Actually, this isn't needed:
- if you want to manually free an object, you can add an extra destroy()
method
- when the object is garbage collected, there's no point in deleting
referenced objects, because these are either still alive, or get
collected as well