[pypy-commit] pypy py3.5: Fix py3.5 translation of the _cppyy module

2018-07-06 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r94820:bc77e35508e9 Date: 2018-07-06 20:12 +0200 http://bitbucket.org/pypy/pypy/changeset/bc77e35508e9/ Log:Fix py3.5 translation of the _cppyy module diff --git a/pypy/module/_cppyy/interp_cppyy.py b/pypy/module/_cppyy/interp_cppyy.py ---

[pypy-commit] pypy py3.5: Cache the pow() result for small values up to 1000. This is enough

2018-07-06 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r94819:06970e67d972 Date: 2018-07-06 19:26 +0200 http://bitbucket.org/pypy/pypy/changeset/06970e67d972/ Log:Cache the pow() result for small values up to 1000. This is enough to recover the original pypy2 speed on #2854. diff --git

[pypy-commit] pypy py3.5: hg merge default

2018-07-06 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r94818:4db575509642 Date: 2018-07-06 18:25 +0200 http://bitbucket.org/pypy/pypy/changeset/4db575509642/ Log:hg merge default diff --git a/pypy/module/__pypy__/__init__.py b/pypy/module/__pypy__/__init__.py --- a/pypy/module/__pypy__/__init__.py

[pypy-commit] pypy py3.5: hg merge default

2018-07-06 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r94816:8c7fd9e901c7 Date: 2018-07-06 16:27 +0200 http://bitbucket.org/pypy/pypy/changeset/8c7fd9e901c7/ Log:hg merge default diff --git a/pypy/module/_cppyy/converter.py b/pypy/module/_cppyy/converter.py --- a/pypy/module/_cppyy/converter.py +++

[pypy-commit] pypy default: Add rarithmetic.mulmod(). Use it to improve the performance of

2018-07-06 Thread arigo
Author: Armin Rigo Branch: Changeset: r94817:93f86b23bc8e Date: 2018-07-06 18:21 +0200 http://bitbucket.org/pypy/pypy/changeset/93f86b23bc8e/ Log:Add rarithmetic.mulmod(). Use it to improve the performance of pow(a, b, c) if c is a large integer that still fits inside a

[pypy-commit] pypy default: merge heads

2018-07-06 Thread arigo
Author: Armin Rigo Branch: Changeset: r94815:b717d811eb2b Date: 2018-07-06 16:26 +0200 http://bitbucket.org/pypy/pypy/changeset/b717d811eb2b/ Log:merge heads diff --git a/pypy/module/_cppyy/converter.py b/pypy/module/_cppyy/converter.py --- a/pypy/module/_cppyy/converter.py +++

[pypy-commit] pypy default: Good speed boost on Fraction.__hash__(). Not compatible with

2018-07-06 Thread arigo
Author: Armin Rigo Branch: Changeset: r94814:7160ef7f4d63 Date: 2018-07-06 16:01 +0200 http://bitbucket.org/pypy/pypy/changeset/7160ef7f4d63/ Log:Good speed boost on Fraction.__hash__(). Not compatible with Python 3, needs a different hack. diff --git a/lib-python/2.7/fractions.py