diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-04 22:50:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-04 22:50:05 (GMT) |
commit | 2ba59370c3dda2ac229c14510e53a05074b133d1 (patch) | |
tree | 88cd810f62d0c5ae34a83a10e05268e33ea0da57 /Misc | |
parent | 69ac6e58fd98de339c013fe64cd1cf763e4f9bca (diff) | |
download | cpython-2ba59370c3dda2ac229c14510e53a05074b133d1.zip cpython-2ba59370c3dda2ac229c14510e53a05074b133d1.tar.gz cpython-2ba59370c3dda2ac229c14510e53a05074b133d1.tar.bz2 |
bpo-40521: Make float free list per-interpreter (GH-20636)
Each interpreter now has its own float free list:
* Move tuple numfree and free_list into PyInterpreterState.
* Add _Py_float_state structure.
* Add tstate parameter to _PyFloat_ClearFreeList()
and _PyFloat_Fini().
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst b/Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst index f364d36..016f116 100644 --- a/Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst +++ b/Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst @@ -1 +1,2 @@ -Each interpreter now has its own tuple free lists and empty tuple singleton. +Tuple free lists, empty tuple singleton, and float free list are no longer +shared by all interpreters: each interpreter now its own free lists. |