]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Bump up the maximum number of freeblocks
authorRaymond Hettinger <python@rcn.com>
Sun, 27 Sep 2015 00:47:02 +0000 (17:47 -0700)
committerRaymond Hettinger <python@rcn.com>
Sun, 27 Sep 2015 00:47:02 +0000 (17:47 -0700)
Modules/_collectionsmodule.c

index 487c7657b095baf6c0fe402b3d1afc65cd400d5e..9210e24b2e0ec73c89bcdb254d7895cfa575d2e4 100644 (file)
@@ -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];