summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-09-05 15:44:50 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-09-05 15:44:50 (GMT)
commit3263dc2b1538ddd948bb60a5ccee817e512a3671 (patch)
treedae6e2ac29006b50b394b4dbeb14ee3e3fc5399c
parentb1156badb4cacc69081dec72f1ea438d5ee01a88 (diff)
downloadcpython-3263dc2b1538ddd948bb60a5ccee817e512a3671.zip
cpython-3263dc2b1538ddd948bb60a5ccee817e512a3671.tar.gz
cpython-3263dc2b1538ddd948bb60a5ccee817e512a3671.tar.bz2
compromise value for threshold0: not too high, not too low
-rw-r--r--Modules/gcmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c
index 28263c0..06f51ed 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 = 5000; /* net new containers before collection */
+static int threshold0 = 700; /* net new containers before collection */
static int threshold1 = 10; /* generation0 collections before collecting 1 */
static int threshold2 = 10; /* generation1 collections before collecting 2 */