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-13.13:21:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552483262.1.0.278291177178.issue30040@roundup.psfhosted.org>
In-reply-to
Content
I created two PRs.  PR 12307 just optimize inserting to empty dict.
PR 12308 has same optimization and removes shared empty key (ma_keys = NULL).

I confirmed PR 12307 is faster than before about `d = {}; d["a"]=None`.
I'll benchmark them later.
History
Date User Action Args
2019-03-13 13:21:02methanesetrecipients: + methane, tim.peters, rhettinger, terry.reedy, vstinner, r.david.murray, Mark.Shannon, serhiy.storchaka, josh.r, xiang.zhang, louielu
2019-03-13 13:21:02methanesetmessageid: <1552483262.1.0.278291177178.issue30040@roundup.psfhosted.org>
2019-03-13 13:21:02methanelinkissue30040 messages
2019-03-13 13:21:01methanecreate