8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ac3d66 commit 11a9311Copy full SHA for 11a9311
Include/internal/pycore_tuple.h
@@ -24,14 +24,18 @@ extern void _PyTuple_Fini(PyInterpreterState *);
24
// PyTuple_MAXFREELIST - maximum number of tuples of each size to save
25
26
#if PyTuple_MAXSAVESIZE <= 0
27
- // A build indicated that no tuple freelists should be used.
+ // A build indicated that tuple freelists should not be used.
28
# define PyTuple_NFREELISTS 0
29
# undef PyTuple_MAXSAVESIZE
30
+# undef PyTuple_MAXFREELIST
31
32
#elif !defined(WITH_FREELISTS)
33
34
+# undef PyTuple_MAXSAVESIZE
35
36
37
#else
38
+ // We are using a freelist for tuples.
39
# ifndef PyTuple_MAXSAVESIZE
40
# define PyTuple_MAXSAVESIZE 20
41
# endif
0 commit comments