Message383584
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.
Raymond:
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.
Serhiy:
The NOP is outside of the loop, so won't slow down the loop. |
|
Date |
User |
Action |
Args |
2020-12-22 11:41:53 | Mark.Shannon | set | recipients:
+ Mark.Shannon, rhettinger, nedbat, serhiy.storchaka |
2020-12-22 11:41:53 | Mark.Shannon | set | messageid: <1608637313.53.0.133081929271.issue42693@roundup.psfhosted.org> |
2020-12-22 11:41:53 | Mark.Shannon | link | issue42693 messages |
2020-12-22 11:41:53 | Mark.Shannon | create | |
|