Python 2.0

Martijn Faassen faassen at
Wed Jun 2 20:00:48 CEST 1999

Aahz Maruch wrote:
> It might make more sense to simply add tools to locate and stomp
> circular references, perhaps augmented by explicit calls to delete
> specific instances of circular references.

Well, those tools would essentially be a form of garbage collecting,

> I'm curious: does GC provide any advantages other than its ability to
> deal with circular references?

I think certain forms of GC can use less memory; I don't think all forms
of GC need extra data for all objects, like you need to store the ref
counter in.



More information about the Python-list mailing list