Skip to content

Conversation

@brandtbucher
Copy link
Member

@brandtbucher brandtbucher commented Jan 29, 2020

The oparg for these new, simpler opcodes is always 1. @markshannon

https://bugs.python.org/issue39320

@markshannon
Copy link
Member

I'd prefer to keep the new opcodes as they are.

There is no efficiency gain in ignoring the oparg, as it is always pre-computed during dispatch.
Allowing flexible access into the stack may allow compiler optimisations that your change would prevent.

@brandtbucher
Copy link
Member Author

That makes sense; thanks for the quick review!

@brandtbucher brandtbucher deleted the map-opargs branch July 21, 2022 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review type-feature A feature request or enhancement

4 participants