mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
gh-111968: Use per-thread freelists for tuple in free-threading (gh-113921)
This commit is contained in:
parent
8717f7b495
commit
2e7577b622
8 changed files with 45 additions and 70 deletions
|
|
@ -1459,6 +1459,7 @@ void
|
|||
_Py_ClearFreeLists(_PyFreeListState *state, int is_finalization)
|
||||
{
|
||||
_PyFloat_ClearFreeList(state, is_finalization);
|
||||
_PyTuple_ClearFreeList(state, is_finalization);
|
||||
_PyList_ClearFreeList(state, is_finalization);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue