Carl Friedrich Bolz-Tereick pushed to branch branch/py3.9 at PyPy / pypy
Commits: 67eb1077 by Carl Friedrich Bolz-Tereick at 2022-05-18T21:48:20+02:00 (4atj, cfbolz) #3746: backport CPython's gh-91851 to pypy 3.9. Thanks 4atj for finding the problem! here's the CPython commit message: Author: Sergey B Kirpichev <2155800+skirpic...@users.noreply.github.com> 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.pet...@gmail.com> Co-authored-by: Mark Dickinson <dicki...@gmail.com> --HG-- branch : py3.9 - - - - - 2 changed files: - lib-python/3/fractions.py - lib-python/3/test/test_fractions.py View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/commit/67eb1077dd4ef98530048b75eb1ae777c846fa42 -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/commit/67eb1077dd4ef98530048b75eb1ae777c846fa42 You're receiving this email because of your account on foss.heptapod.net.
_______________________________________________ pypy-commit mailing list -- pypy-commit@python.org To unsubscribe send an email to pypy-commit-le...@python.org https://mail.python.org/mailman3/lists/pypy-commit.python.org/ Member address: arch...@mail-archive.com