<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Martin v. Löwis a écrit :
<blockquote cite="mid:49ec0a34$0$3678$9b622d9e@news.freenet.de"
type="cite">
<blockquote type="cite">
<pre wrap="">Is there any interest in generational garbage collection in Python these days ?
Anyone working on it ?
</pre>
</blockquote>
<pre wrap=""><!---->
This is the time machine at work: the garbage collector in CPython *is*
generational (with three generations).
Regards,
Martin
--
<a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/python-list">http://mail.python.org/mailman/listinfo/python-list</a>
</pre>
</blockquote>
I'm lost there. Isn't CPython using reference counting (i.e updating
the object's state at each reference creation/deletion, and deleting
the objects as soon as they have no more references to them) ? It
seemed to me that generational GC only applied to periodic GCs, like
tracing garbage collectors. Or is CPython using a mix of both
technologies (to prevent cycles for example) ?<br>
<br>
<br>
Regards, <br>
pascal<br>
</body>
</html>