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 kj
Recipients Dennis Sweeney, kj, mark.dickinson, rhettinger
Date 2021-12-09.13:12:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm not sure about the original 10:1 difference in 3.10, but in 3.11, the 2:1 difference might be due to the PEP 659 machinery optimizing for int * int, and float * float cases (see BINARY_OP_MULTIPLY_INT and BINARY_OP_MULTIPLY_FLOAT in ceval).

Last I recall, these were slightly faster than their unspecialized counterparts as they have less overhead in C function calls. Meanwhile, none of the power operations are optimized via PEP 659 machinery at the moment.
Date User Action Args
2021-12-09 13:12:12kjsetrecipients: + kj, rhettinger, mark.dickinson, Dennis Sweeney
2021-12-09 13:12:12kjsetmessageid: <>
2021-12-09 13:12:12kjlinkissue46020 messages
2021-12-09 13:12:12kjcreate