[Python-Dev] Proposal: Run GC less often
Brett Cannon
brett at python.org
Sat Jun 21 22:54:51 CEST 2008
On Sat, Jun 21, 2008 at 1:23 PM, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> Here is my proposal for making the GC run less often.
> The objective is to avoid the quadratic-time behavior
> if many objects are created and none of them is garbage.
>
[SNIP]
> Applications with a small number of objects will see no
> change in behavior, also, applications that create
> lots of small cycles will continue to see them collected
> in the youngest or middle generations.
>
> Please let me know what you think.
>
Interesting. Seems reasonable to me if the impact really is as minimal
as you say, Martin.
-Brett
More information about the Python-Dev
mailing list