SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

gh-91851: Micro optimizations for arithmetic between Fractions (#25518)

Adapted from
https://github.com/python/cpython/pull/24779/commits/046c84e8f9

This makes arithmetic between Fractions with small components
just as fast as before python/cpython#24779, at some expense of
mixed arithmetic (e.g. Fraction + int).
S
Sergey B Kirpichev committed
909982e82aa73fe5a75d5ab75fbaf84539a0c5e3
Parent: 6d3bc4a
Committed by GitHub <noreply@github.com> on 1/8/2023, 8:34:20 AM