diff options
author | Sergey B Kirpichev <skirpichev@gmail.com> | 2023-01-08 08:34:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-08 08:34:20 (GMT) |
commit | 909982e82aa73fe5a75d5ab75fbaf84539a0c5e3 (patch) | |
tree | a4c1736913b44c6ce021d80f58eb7c0389bc43e0 /Python | |
parent | 6d3bc4a795e7a60f665e41b2d4b6803f3844fc48 (diff) | |
download | cpython-909982e82aa73fe5a75d5ab75fbaf84539a0c5e3.zip cpython-909982e82aa73fe5a75d5ab75fbaf84539a0c5e3.tar.gz cpython-909982e82aa73fe5a75d5ab75fbaf84539a0c5e3.tar.bz2 |
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).
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions