summaryrefslogtreecommitdiffstats
path: root/Modules/_collectionsmodule.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2015-09-27 00:47:02 (GMT)
committerRaymond Hettinger <python@rcn.com>2015-09-27 00:47:02 (GMT)
commitf2b02ced7edfa30e3ee5f15abcdd8f45b36476f5 (patch)
tree05869e8e03c70acf144d2e63e220b7c8aba6a24b /Modules/_collectionsmodule.c
parent0103af397ff59a2feab21b954087a657201d37f7 (diff)
downloadcpython-f2b02ced7edfa30e3ee5f15abcdd8f45b36476f5.zip
cpython-f2b02ced7edfa30e3ee5f15abcdd8f45b36476f5.tar.gz
cpython-f2b02ced7edfa30e3ee5f15abcdd8f45b36476f5.tar.bz2
Bump up the maximum number of freeblocks
Diffstat (limited to 'Modules/_collectionsmodule.c')
-rw-r--r--Modules/_collectionsmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c
index 487c765..9210e24 100644
--- a/Modules/_collectionsmodule.c
+++ b/Modules/_collectionsmodule.c
@@ -121,7 +121,7 @@ static PyTypeObject deque_type;
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];