Message239252
In case of class or module dicts attribute names usually are interned. So no string comparison is needed if the key is found. It is needed only when the key is not found, but found a key with the same hash (with the chance 5e-28). The benefit of optimization is 5e-28 * time of string comparison per key lookup. |
|
Date |
User |
Action |
Args |
2015-03-25 13:22:15 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, rhettinger, pitrou, scoder, ezio.melotti, dstufft, josh.r |
2015-03-25 13:22:15 | serhiy.storchaka | set | messageid: <1427289735.73.0.250848866729.issue23712@psf.upfronthosting.co.za> |
2015-03-25 13:22:15 | serhiy.storchaka | link | issue23712 messages |
2015-03-25 13:22:15 | serhiy.storchaka | create | |
|