Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
f2632e45
Commit
f2632e45
authored
May 05, 2015
by
Marius Wachtler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deque: Disable free block cache. Because the blocks don't get tracked by the GC
parent
69504cc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
from_cpython/Modules/_collectionsmodule.c
from_cpython/Modules/_collectionsmodule.c
+3
-1
No files found.
from_cpython/Modules/_collectionsmodule.c
View file @
f2632e45
...
@@ -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
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment