[Python-Dev] finalization again

Greg Stein gstein@lyra.org
Thu, 9 Mar 2000 11:59:48 -0800 (PST)


On Thu, 9 Mar 2000, Guido van Rossum wrote:
> > As an alternative, is it possible to move those cycles to the garbage list
> > and then never look at them again? That would speed up future collection
> > processing.
> 
> With the current approach, that's almost automatic :-)
> 
> I'd rather reclaim the memory too.

Well, yah. I would too :-)  I'm at ApacheCon right now, so haven't read
the thread in detail, but it seems that people saw my algorithm as a bit
too complex. Bah. IMO, it's a pretty straightforward way for the
interpreter to get cycles cleaned up. (whether the objects in the cycles
are lists/dicts, class instances, or extension types!)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/