[New-bugs-announce] [issue44945] Specialize BINARY_ADD using PEP 659 machinery.

Mark Shannon report at bugs.python.org
Wed Aug 18 06:11:48 EDT 2021


New submission from Mark Shannon <mark at hotpy.org>:

Specializing BINARY_ADD is worthwhile for two reasons:

Specializing for ints, floats and strings may give us some small speedup.

It removes the complex checks for the special case of extending a string, `s = s + ...` from the normal instruction to a specialized form.

----------
messages: 399830
nosy: Mark.Shannon
priority: normal
severity: normal
status: open
title: Specialize BINARY_ADD using PEP 659 machinery.

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44945>
_______________________________________


More information about the New-bugs-announce mailing list