[issue40925] Remove redundant macros used for stack manipulation in interpreter

Mark Shannon report at bugs.python.org
Sat Jun 13 09:09:54 EDT 2020


Mark Shannon <mark at hotpy.org> added the comment:

Dennis, thanks for doing the benchmarking.
You seem to have removed rather more macros than I suggested,
but it probably won't make much difference to the results.

Since this may have a negative effect on performance and doesn't seem to be popular, let's drop it.

For the record, my motivation for this change is for tooling.
Instructions that only use POP, PEEK and PUSH, are much easier to analyze for tools like verifiers and optimizers.

Such "nice to have" features aren't worth the slowdown.

----------
resolution:  -> wont fix

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40925>
_______________________________________


More information about the Python-bugs-list mailing list