homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:29methanesetrecipients: + methane, tim.peters, rhettinger, terry.reedy, vstinner, r.david.murray, Mark.Shannon, serhiy.storchaka, josh.r, xiang.zhang, louielu
2019年03月14日 08:04:29methanesetmessageid: <1552550669.15.0.283010949251.issue30040@roundup.psfhosted.org>
2019年03月14日 08:04:29methanelinkissue30040 messages
2019年03月14日 08:04:29methanecreate

AltStyle によって変換されたページ (->オリジナル) /