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 pablogsal
Recipients Mark.Shannon, pablogsal, shrink_stack
Date 2020-06-14.17:23:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1592155432.0.0.996699668285.issue40974@roundup.psfhosted.org>
In-reply-to
Content
> less opcodes = faster evaluation

Unfortunately, that is not always true as opcodes can have arbitrary complexity and there are very low-level effects that are relevant in the eval loop. Even if it is better, the improvement may not be worth burning another opcode, especially since the new opcode won't replace POP_TOP (so we need to deal with both).

Without evaluating the tradeoffs and how it plays into the current status quo I have some initial questions:

- What is the performance improvement of the patch that you propose? Could you run the pyperformance benchmark suite to have some numbers? 

- How many opcodes less are we talking about? What is the size before and after the suggested change in the stdlib pyc files?
History
Date User Action Args
2020-06-14 17:23:52pablogsalsetrecipients: + pablogsal, Mark.Shannon, shrink_stack
2020-06-14 17:23:52pablogsalsetmessageid: <1592155432.0.0.996699668285.issue40974@roundup.psfhosted.org>
2020-06-14 17:23:51pablogsallinkissue40974 messages
2020-06-14 17:23:51pablogsalcreate