[issue44945] Specialize BINARY_ADD using PEP 659 machinery.

2021-08-27 Thread Mark Shannon
Change by Mark Shannon : -- stage: resolved -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44945] Specialize BINARY_ADD using PEP 659 machinery.

2021-08-27 Thread Mark Shannon
Change by Mark Shannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44945] Specialize BINARY_ADD using PEP 659 machinery.

2021-08-27 Thread Mark Shannon
Mark Shannon added the comment: New changeset d3eaf0cc5b311ad023fd13e367f817d528403306 by Mark Shannon in branch 'main': bpo-44945: Specialize BINARY_ADD (GH-27967) https://github.com/python/cpython/commit/d3eaf0cc5b311ad023fd13e367f817d528403306 --

[issue44945] Specialize BINARY_ADD using PEP 659 machinery.

2021-08-26 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +26414 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27967 ___ Python tracker ___

[issue44945] Specialize BINARY_ADD using PEP 659 machinery.

2021-08-18 Thread Mark Shannon
New submission from Mark Shannon : 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