Commit f2632e45 authored by Marius Wachtler's avatar Marius Wachtler

deque: Disable free block cache. Because the blocks don't get tracked by the GC

parent 69504cc2
...@@ -55,7 +55,9 @@ typedef struct BLOCK { ...@@ -55,7 +55,9 @@ typedef struct BLOCK {
struct BLOCK *leftlink; struct BLOCK *leftlink;
} block; } block;
#define MAXFREEBLOCKS 10 // Pyston change: disable free block cache
// #define MAXFREEBLOCKS 10
#define MAXFREEBLOCKS 0
static Py_ssize_t numfreeblocks = 0; static Py_ssize_t numfreeblocks = 0;
static block *freeblocks[MAXFREEBLOCKS]; static block *freeblocks[MAXFREEBLOCKS];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment