[pypy-commit] pypy py3.6: (Luanna): integrate new gcd algorithm into the pypy math module

2019-07-10 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: py3.6 Changeset: r96959:aa95fe7b71b4 Date: 2019-07-10 13:46 +0200 http://bitbucket.org/pypy/pypy/changeset/aa95fe7b71b4/ Log:(Luanna): integrate new gcd algorithm into the pypy math module diff --git a/pypy/module/math/__init__.py b/pypy/module/mat

[pypy-commit] pypy py3.6: no need to call abs twice

2019-07-10 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: py3.6 Changeset: r96960:de29534e71f5 Date: 2019-07-10 15:11 +0200 http://bitbucket.org/pypy/pypy/changeset/de29534e71f5/ Log:no need to call abs twice diff --git a/pypy/module/math/interp_math.py b/pypy/module/math/interp_math.py --- a/pypy/module/

[pypy-commit] pypy default: (Luanna, cfbolz): add rbigint.gcd to compute the greatest common divisor of two

2019-07-10 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: Changeset: r96957:bf3310921e45 Date: 2019-07-10 13:38 +0200 http://bitbucket.org/pypy/pypy/changeset/bf3310921e45/ Log:(Luanna, cfbolz): add rbigint.gcd to compute the greatest common divisor of two rbigint instances using Lehmer's algorith

[pypy-commit] pypy py3.6: merge default

2019-07-10 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: py3.6 Changeset: r96958:5a7ab6765acf Date: 2019-07-10 13:38 +0200 http://bitbucket.org/pypy/pypy/changeset/5a7ab6765acf/ Log:merge default diff --git a/rpython/jit/backend/arm/assembler.py b/rpython/jit/backend/arm/assembler.py --- a/rpython/jit/b

[pypy-commit] pypy py3.6: ~1% speedup to GCD.

2019-07-10 Thread Stian Andreassen
Author: Stian Andreassen Branch: py3.6 Changeset: r96961:ab71ab09aca2 Date: 2019-07-10 22:41 +0200 http://bitbucket.org/pypy/pypy/changeset/ab71ab09aca2/ Log:~1% speedup to GCD. diff --git a/rpython/rlib/rbigint.py b/rpython/rlib/rbigint.py --- a/rpython/rlib/rbigint.py +++ b/rpython/rlib/rbi