mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-123990: Good bye WITH_FREELISTS macro (gh-124358)
This commit is contained in:
parent
be76e3f26e
commit
ad7c778546
16 changed files with 4 additions and 100 deletions
|
@ -1146,7 +1146,6 @@ maybe_freelist_push(PyTupleObject *op)
|
|||
void
|
||||
_PyTuple_DebugMallocStats(FILE *out)
|
||||
{
|
||||
#ifdef WITH_FREELISTS
|
||||
for (int i = 0; i < PyTuple_MAXSAVESIZE; i++) {
|
||||
int len = i + 1;
|
||||
char buf[128];
|
||||
|
@ -1155,5 +1154,4 @@ _PyTuple_DebugMallocStats(FILE *out)
|
|||
_PyDebugAllocatorStats(out, buf, _Py_FREELIST_SIZE(tuples[i]),
|
||||
_PyObject_VAR_SIZE(&PyTuple_Type, len));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue