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 serhiy.storchaka
Recipients Mark.Shannon, benjamin.peterson, brett.cannon, methane, ncoghlan, pitrou, rhettinger, serhiy.storchaka, yselivanov
Date 2018-11-20.18:31:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1542738702.43.0.788709270274.issue33325@psf.upfronthosting.co.za>
In-reply-to
Content
Good point! Thank you Mark for your comment.

In theory, fewer bytecodes is better (the first example doesn't create a new object, it operates with references to existing objects). But in practice the difference is very small and overwhelmed by random factors. We need hundreds or thousands of constants to get a stable result. This is far from a common use case.
History
Date User Action Args
2018-11-20 18:31:42serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, rhettinger, ncoghlan, pitrou, benjamin.peterson, methane, Mark.Shannon, yselivanov
2018-11-20 18:31:42serhiy.storchakasetmessageid: <1542738702.43.0.788709270274.issue33325@psf.upfronthosting.co.za>
2018-11-20 18:31:42serhiy.storchakalinkissue33325 messages
2018-11-20 18:31:42serhiy.storchakacreate