summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-09-01 04:01:55 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-09-01 04:01:55 (GMT)
commit045946d4ee89ea6377868f557079a6057f5692f9 (patch)
treec4c3dbb457c2daa74bf8a094f02a8321f2f5f1b4 /Modules
parentb69a27e5b2d336e3ca0e79d08236901ac296b0cc (diff)
downloadcpython-045946d4ee89ea6377868f557079a6057f5692f9.zip
cpython-045946d4ee89ea6377868f557079a6057f5692f9.tar.gz
cpython-045946d4ee89ea6377868f557079a6057f5692f9.tar.bz2
set the default threshold much higher
we don't need to run gc frequently
Diffstat (limited to 'Modules')
-rw-r--r--Modules/gcmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c
index 889ae25..28263c0 100644
--- a/Modules/gcmodule.c
+++ b/Modules/gcmodule.c
@@ -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 */