Message301221
It's the slot names in "slotdefs". See "update_one_slot()".
The time that is saved is mostly the overhead of calling PyDict_GetItem(). I actually tried PyDict_GetItemWithError() first, which is faster due to the lower error handling overhead, before I noticed that the real problem is the repeated lookups of the same name, which can be optimised further by pre-calculating the hash and calling the low-level lookup function. |
|
Date |
User |
Action |
Args |
2017-09-04 13:00:24 | scoder | set | recipients:
+ scoder, rhettinger, pitrou, vstinner, methane, serhiy.storchaka |
2017-09-04 13:00:24 | scoder | set | messageid: <1504530024.3.0.129213721827.issue31336@psf.upfronthosting.co.za> |
2017-09-04 13:00:24 | scoder | link | issue31336 messages |
2017-09-04 13:00:23 | scoder | create | |
|