Message405136
...as discussed in https://github.com/faster-cpython/ideas/issues/101.
This change merges all BINARY_*/INPLACE_* instructions, except for a few special cases:
- BINARY_ADD/INPLACE_ADD, which interact with sq_concat/sq_inplace_concat and already have their own specialization family.
- BINARY_MULTIPLY/INPLACE_MULTIPLY, which interact with sq_repeat/sq_inplace_repeat and already have their own specialization family.
- BINARY_POWER/INPLACE_POWER, which are technically ternary operators under-the-hood.
- BINARY_MODULO/INPLACE_MODULO, which contain a special fast path for string formatting (but likely can be rolled in later as a specialization).
It has no mean impact on pyperformance, shrinks the eval loop, and makes it much simpler to implement operator specializations. |
|
Date |
User |
Action |
Args |
2021-10-27 22:13:52 | brandtbucher | set | recipients:
+ brandtbucher, gvanrossum, Mark.Shannon |
2021-10-27 22:13:52 | brandtbucher | set | messageid: <1635372832.22.0.99301821488.issue45636@roundup.psfhosted.org> |
2021-10-27 22:13:52 | brandtbucher | link | issue45636 messages |
2021-10-27 22:13:52 | brandtbucher | create | |
|