[Python-checkins] cpython: Bump up the maximum number of freeblocks
raymond.hettinger
python-checkins at python.org
Sun Sep 27 02:47:08 CEST 2015
https://hg.python.org/cpython/rev/919a3487fb00
changeset: 98293:919a3487fb00
user: Raymond Hettinger <python at rcn.com>
date: Sat Sep 26 17:47:02 2015 -0700
summary:
Bump up the maximum number of freeblocks
files:
Modules/_collectionsmodule.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c
--- a/Modules/_collectionsmodule.c
+++ b/Modules/_collectionsmodule.c
@@ -121,7 +121,7 @@
added at about the same rate as old blocks are being freed.
*/
-#define MAXFREEBLOCKS 10
+#define MAXFREEBLOCKS 16
static Py_ssize_t numfreeblocks = 0;
static block *freeblocks[MAXFREEBLOCKS];
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list