]> granicus.if.org Git - python/commitdiff
set the default threshold much higher
authorJeremy Hylton <jeremy@alum.mit.edu>
Fri, 1 Sep 2000 04:01:55 +0000 (04:01 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Fri, 1 Sep 2000 04:01:55 +0000 (04:01 +0000)
we don't need to run gc frequently

Modules/gcmodule.c

index 889ae25a95088a195619ed5ca23508e0b68d3174..28263c072284ea24d78c88575b01b5ac62193f41 100644 (file)
@@ -40,7 +40,7 @@ static int generation = 0; /* current generation being collected */
 
 /* collection frequencies, XXX tune these */
 static int enabled = 1; /* automatic collection enabled? */
-static int threshold0 = 100; /* net new containers before collection */
+static int threshold0 = 5000; /* net new containers before collection */
 static int threshold1 = 10;  /* generation0 collections before collecting 1 */
 static int threshold2 = 10;  /* generation1 collections before collecting 2 */