mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
compromise value for threshold0: not too high, not too low
This commit is contained in:
parent
b1156badb4
commit
3263dc2b15
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue