From: Raymond Hettinger Date: Sun, 27 Sep 2015 00:47:02 +0000 (-0700) Subject: Bump up the maximum number of freeblocks X-Git-Tag: v3.6.0a1~1432 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f2b02ced7edfa30e3ee5f15abcdd8f45b36476f5;p=thirdparty%2FPython%2Fcpython.git Bump up the maximum number of freeblocks --- diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c index 487c7657b095..9210e24b2e0e 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];