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 methane
Date 2020-10-23.08:46:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603442811.66.0.361695425892.issue42126@roundup.psfhosted.org>
In-reply-to
Content
BUILD_CONST_KEY_MAP can be optimized based on #41835 optimization.

1. compiler checks keys tuple is distinct.
2. Add distinct flag to BUILD_CONST_KEY_MAP oparg

To be considered:

* Should we use new opcode, instead of flag in oparg?
* Is this technique safe? Wrong co_consts can make invalid dict instance.
History
Date User Action Args
2020-10-23 08:46:51methanesetrecipients: + methane
2020-10-23 08:46:51methanesetmessageid: <1603442811.66.0.361695425892.issue42126@roundup.psfhosted.org>
2020-10-23 08:46:51methanelinkissue42126 messages
2020-10-23 08:46:51methanecreate