Pushing temporary, non-object pointers to the stack between micro-ops is counter-productive #130296
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-feature
A feature request or enhancement
Currently, we allow micro-ops to push temporary non-object pointers to the stack to be consumed by the following micro-op.
This has a number of disadvantages. We originally allowed this for a number of reasons, most of which are not true any more.
The original advantages:
PUSH_FRAME
to be re-used. This is still true, so we may still want to allowPUSH_FRAME
. But sincePUSH_FRAME
needs special treatment anyway, there may be a better way to do this.The disadvantages:
PYTHON_LLTRACE=4
due to presence ofPyDictKeysObject
on stack #129432Linked PRs
The text was updated successfully, but these errors were encountered: