Skip to content

Conversation

sweeneyde
Copy link
Member

@sweeneyde sweeneyde commented Mar 17, 2022

Example output here: https://gist.github.com/sweeneyde/e80111c909e6c629771d6e941e525e8a

@markshannon, I think this can be useful when examining/optimizing a particular opcode: we see what kinds of opcodes follow and precede, and potentially catch examples of one opcode that can be completely rolled into another.

@markshannon
Copy link
Member

I like it.
Could you sort the instructions alphabetically? Otherwise it is hard to find a particular instruction.

@sweeneyde
Copy link
Member Author

Done. Updated sorted-by-opname results are here: https://gist.github.com/sweeneyde/b698aad58cfe55aaae0a863c05046891

@markshannon
Copy link
Member

Thanks

@markshannon markshannon merged commit d7a93cb into python:main Mar 18, 2022
@sweeneyde sweeneyde deleted the pairs_by_opcode branch March 19, 2022 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants