Message269391
Thank you Raymond. Committed without the prediction from DUP_TOP_TWO to BINARY_SUBSCR.
What are you think about following highly predictive pairs?
1. From UNPACK_SEQUENCE to STORE_FAST with 96.5% probability. This is the 15th of most common pairs. It is more common than any other predicted pairs except the COMPARE_OP/POP_JUMP_IF_FALSE pair. I suppose it is mostly used in for loops over dict.items(), enumerate(), etc. I suppose the remaining 3.5% are unpacking to object attributes (like "self.x, self.y = ...").
2. From BUILD_SLICE to BINARY_SUBSCR with 99.3% probability. This is the 37th of most common pairs. It is more common than any other predicted pairs except the three most common pairs. The remaining 0.7% are slice assignment (0.42%), slice deleting (0.29%), slice inplace operations and extended slices.
FYI here is a list of most common pairs (predicted pairs are starred).
1. 5.84% LOAD_FAST LOAD_FAST 22.6%
2. 5.16% LOAD_FAST LOAD_ATTR 20.0%
3. 4.18% COMPARE_OP POP_JUMP_IF_FALSE 82.9% *
4. 3.97% POP_JUMP_IF_FALSE LOAD_FAST 66.3%
5. 3.90% STORE_FAST LOAD_FAST 47.2%
6. 3.70% LOAD_FAST CALL_FUNCTION 14.3%
7. 3.36% LOAD_FAST LOAD_CONST 13.0%
8. 2.64% LOAD_ATTR LOAD_FAST 35.2%
9. 2.28% LOAD_CONST COMPARE_OP 26.7%
10. 2.12% STORE_FAST STORE_FAST 25.6%
11. 2.09% LOAD_GLOBAL LOAD_FAST 37.5%
12. 1.49% CALL_FUNCTION STORE_FAST 20.5%
13. 1.44% <0> LOAD_FAST 39.1%
14. 1.37% JUMP_ABSOLUTE FOR_ITER 77.6%
15. 1.29% UNPACK_SEQUENCE STORE_FAST 96.5%
16. 1.28% CALL_FUNCTION POP_TOP 17.7%
17. 1.28% LOAD_FAST LOAD_GLOBAL 4.9%
18. 1.26% FOR_ITER STORE_FAST 50.3% *
19. 1.25% LOAD_CONST RETURN_VALUE 14.6%
20. 1.19% LOAD_ATTR LOAD_CONST 15.9%
...
36. 0.65% COMPARE_OP POP_JUMP_IF_TRUE 13.0% *
37. 0.65% BUILD_SLICE BINARY_SUBSCR 99.3%
...
45. 0.55% SETUP_LOOP LOAD_FAST 80.7%
46. 0.55% GET_ITER FOR_ITER 71.9% *
47. 0.53% FOR_ITER UNPACK_SEQUENCE 21.2% *
...
50. 0.50% FOR_ITER POP_BLOCK 20.0% *
...
66. 0.33% ROT_TWO STORE_FAST 85.8%
...
71. 0.31% INPLACE_ADD STORE_FAST 92.1%
...
73. 0.30% LIST_APPEND JUMP_ABSOLUTE 100.0% *
...
90. 0.22% BUILD_MAP STORE_FAST 85.3%
...
93. 0.21% GET_ITER CALL_FUNCTION 28.1% * |
|
Date |
User |
Action |
Args |
2016-06-27 18:14:51 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, python-dev |
2016-06-27 18:14:51 | serhiy.storchaka | set | messageid: <1467051291.26.0.720651957908.issue27255@psf.upfronthosting.co.za> |
2016-06-27 18:14:51 | serhiy.storchaka | link | issue27255 messages |
2016-06-27 18:14:50 | serhiy.storchaka | create | |
|