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, nedbat, rhettinger, serhiy.storchaka
Date 2020-12-22.11:41:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
What is the problem with NOPs?
If there are performance regressions in real code, then that needs to be addressed. 
If only in a few toy examples, then that is (IMO) a price worth paying for predictable debugging and profiling.

   Effectively it does cease to exist. A NOP in the bytecode, except maybe in the tightest of loops, is going to be impossible to detect without inspecting the bytecode.

   The NOP is outside of the loop, so won't slow down the loop.
Date User Action Args
2020-12-22 11:41:53Mark.Shannonsetrecipients: + Mark.Shannon, rhettinger, nedbat, serhiy.storchaka
2020-12-22 11:41:53Mark.Shannonsetmessageid: <>
2020-12-22 11:41:53Mark.Shannonlinkissue42693 messages
2020-12-22 11:41:53Mark.Shannoncreate