Message224941
I think a lock is still needed for cache misses. The dict operations (set and del) can release the GIL (as well as course as the PyObject_Call()), therefore you might end up with duplicate list links for a given key.
(and given cache misses are supposed to be much more expensive anyway, I don't think acquiring a lock there is detrimental) |
|
Date |
User |
Action |
Args |
2014-08-06 15:34:01 | pitrou | set | recipients:
+ pitrou, rhettinger, jcea, amaury.forgeotdarc, scoder, giampaolo.rodola, ezio.melotti, asvetlov, poke, skrah, meador.inge, anacrolix, Aaron.Meurer, BreamoreBoy, eric.snow, serhiy.storchaka, brechtm, kachayev, josh.r |
2014-08-06 15:34:01 | pitrou | set | messageid: <1407339241.92.0.610376821237.issue14373@psf.upfronthosting.co.za> |
2014-08-06 15:34:01 | pitrou | link | issue14373 messages |
2014-08-06 15:34:01 | pitrou | create | |
|