This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brandtbucher
Recipients Mark.Shannon, brandtbucher, gvanrossum
Date 2021-10-27.22:13:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635372832.22.0.99301821488.issue45636@roundup.psfhosted.org>
In-reply-to
Content
...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.
History
Date User Action Args
2021-10-27 22:13:52brandtbuchersetrecipients: + brandtbucher, gvanrossum, Mark.Shannon
2021-10-27 22:13:52brandtbuchersetmessageid: <1635372832.22.0.99301821488.issue45636@roundup.psfhosted.org>
2021-10-27 22:13:52brandtbucherlinkissue45636 messages
2021-10-27 22:13:52brandtbuchercreate