Message294452
Isn't list(dict) atomic? At least in CPython.
I suspect that protecting *all* accesses to _data with a lock will hit the performance and invalidate the reason of using _data for caching. |
|
Date |
User |
Action |
Args |
2017-05-25 10:10:53 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mark.dickinson, pitrou, martin.panter, osantana, JelleZijlstra, Danilo Shiga |
2017-05-25 10:10:53 | serhiy.storchaka | set | messageid: <1495707053.58.0.786249847834.issue30441@psf.upfronthosting.co.za> |
2017-05-25 10:10:53 | serhiy.storchaka | link | issue30441 messages |
2017-05-25 10:10:53 | serhiy.storchaka | create | |
|