You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Specialize BINARY_ADD using PEP 659 machinery. #89108
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2021-08-27.08:57:30.218>created_at=<Date2021-08-18.10:11:48.404>labels= []
title='Specialize BINARY_ADD using PEP 659 machinery.'updated_at=<Date2021-08-27.09:57:14.818>user='https://github.com/markshannon'
Activity
markshannon commentedon Aug 18, 2021
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.markshannon commentedon Aug 27, 2021
New changeset d3eaf0c by Mark Shannon in branch 'main':
bpo-44945: Specialize BINARY_ADD (GH-27967)
d3eaf0c