Message337900
| Author | methane |
|---|---|
| Recipients | Mark.Shannon, josh.r, louielu, methane, r.david.murray, rhettinger, serhiy.storchaka, terry.reedy, tim.peters, vstinner, xiang.zhang |
| Date | 2019-03-14.08:04:28 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1552550669.15.0.283010949251.issue30040@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
Benchmark result is here. https://github.com/methane/sandbox/tree/master/2019.01/empty-dict notes: * Overhead introduced by PR 1080 (https://bugs.python.org/issue30040#msg337778) is cancelled by first insert optimization. It is now faster than before. * PR 12307 (first insert optimization) is about 2x faster on creating & destroy empty dict. Other performance diff is small. * PR 12308 (use keys=NULL instead of shared empty keys) is more faster than PR 12307 on some cases, while it requires much `if (md->ma_keys == NULL)` checks. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-03-14 08:04:29 | methane | set | recipients: + methane, tim.peters, rhettinger, terry.reedy, vstinner, r.david.murray, Mark.Shannon, serhiy.storchaka, josh.r, xiang.zhang, louielu |
| 2019-03-14 08:04:29 | methane | set | messageid: <1552550669.15.0.283010949251.issue30040@roundup.psfhosted.org> |
| 2019-03-14 08:04:29 | methane | link | issue30040 messages |
| 2019-03-14 08:04:29 | methane | create | |