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 Mark.Shannon
Recipients Mark.Shannon, methane
Date 2020-10-23.12:20:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603455641.13.0.824469278437.issue42126@roundup.psfhosted.org>
In-reply-to
Content
Is this worthwhile?

Statically, BUILD_CONST_KEY_MAP represents 0.14% of all bytecode instructions in the standard library, but only 0.03% of the bytecode instructions in functions.
Which suggests that dynamically only 1 in 3000 instructions executed is BUILD_CONST_KEY_MAP. The implication is that making BUILD_CONST_KEY_MAP more complex is just as likely to slow things down as speed them up.

Do you have any evidence that this will make a measurable difference?
History
Date User Action Args
2020-10-23 12:20:41Mark.Shannonsetrecipients: + Mark.Shannon, methane
2020-10-23 12:20:41Mark.Shannonsetmessageid: <1603455641.13.0.824469278437.issue42126@roundup.psfhosted.org>
2020-10-23 12:20:41Mark.Shannonlinkissue42126 messages
2020-10-23 12:20:41Mark.Shannoncreate