Python 2.0

Martijn Faassen faassen at pop.vet.uu.nl
Wed Jun 2 14:00:48 EDT 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,
right?

> 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.

Regards,

Martijn




More information about the Python-list mailing list