mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
bpo-40521: Make slice cache per-interpreter (GH-20637)
Each interpreter now has its own slice cache: * Move slice cache into PyInterpreterState. * Add tstate parameter to _PySlice_Fini().
This commit is contained in:
parent
2ba59370c3
commit
7daba6f221
5 changed files with 24 additions and 18 deletions
|
|
@ -1,2 +1,3 @@
|
|||
Tuple free lists, empty tuple singleton, and float free list are no longer
|
||||
shared by all interpreters: each interpreter now its own free lists.
|
||||
The tuple free lists, the empty tuple singleton, the float free list, and the
|
||||
slice cache are no longer shared by all interpreters: each interpreter now has
|
||||
its own free lists and caches.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue