GH-132554: Add stats for GET_ITER (GH-132592)
* Add stats for GET_ITER * Look for common iterable types, not iterator types * Add stats for self iter and fix naming in summary
This commit is contained in:
@@ -288,7 +288,7 @@ class OpcodeStats:
|
||||
opcode = "SUPER"
|
||||
elif opcode.endswith("ATTR"):
|
||||
opcode = "ATTR"
|
||||
elif opcode in ("FOR_ITER", "SEND"):
|
||||
elif opcode in ("FOR_ITER", "GET_ITER", "SEND"):
|
||||
opcode = "ITER"
|
||||
elif opcode.endswith("SUBSCR"):
|
||||
opcode = "SUBSCR"
|
||||
|
||||
Reference in New Issue
Block a user