mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
gh-111968: Use per-thread freelists for float in free-threading (gh-113886)
This commit is contained in:
parent
a0c9cf9456
commit
f728f7242c
9 changed files with 43 additions and 59 deletions
|
|
@ -1458,6 +1458,7 @@ clear_datastack(PyThreadState *tstate)
|
|||
void
|
||||
_Py_ClearFreeLists(_PyFreeListState *state, int is_finalization)
|
||||
{
|
||||
_PyFloat_ClearFreeList(state, is_finalization);
|
||||
_PyList_ClearFreeList(state, is_finalization);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue