diff options
author | Sergey B Kirpichev <2155800+skirpichev@users.noreply.github.com> | 2021-03-22 02:30:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-22 02:30:55 (GMT) |
commit | 690aca781152a498f5117682524d2cd9aa4d7657 (patch) | |
tree | 5b25204630ca11818548c21d1badad433a84f819 /Misc/ACKS | |
parent | 9a50ef43e42ee32450a81ce13ed5a0729d3b84e8 (diff) | |
download | cpython-690aca781152a498f5117682524d2cd9aa4d7657.zip cpython-690aca781152a498f5117682524d2cd9aa4d7657.tar.gz cpython-690aca781152a498f5117682524d2cd9aa4d7657.tar.bz2 |
bpo-43420: Simple optimizations for Fraction's arithmetics (GH-24779)
bpo-43420: Implement standard transformations in + - * / that can often reduce the size of intermediate integers needed. For rationals with large components, this can yield dramatic speed improvements, but for small rationals can run 10-20% slower, due to increased fixed overheads in the longer-winded code. If those slowdowns turn out to be a problem, see the PR discussion for low-level implementation tricks that could cut other fixed overheads.
Co-authored-by: Tim Peters <tim.peters@gmail.com>
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
Diffstat (limited to 'Misc/ACKS')
-rw-r--r-- | Misc/ACKS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -902,6 +902,7 @@ James King W. Trevor King Jeffrey Kintscher Paul Kippes +Sergey B Kirpichev Steve Kirsch Sebastian Kirsche Kamil Kisiel |