Message383777
Currently, the type lookup cache is shared by all interpreter which causes multiple issues:
* The version tag is currently protected by the GIL, but it would require a new lock if the GIL is made per interpreter (bpo-40512)
* Clearing the cache in an interpreter clears the cache in all interpreters
* The cache has a fixed size of 4096 entries. The cache misses increase with the number of interpreters, since each interpreter has its own types.
I propose to make the type lookup cache per interpreter. |
|
Date |
User |
Action |
Args |
2020-12-25 22:50:34 | vstinner | set | recipients:
+ vstinner |
2020-12-25 22:50:34 | vstinner | set | messageid: <1608936634.73.0.0790209715879.issue42745@roundup.psfhosted.org> |
2020-12-25 22:50:34 | vstinner | link | issue42745 messages |
2020-12-25 22:50:34 | vstinner | create | |
|