[pypy-issue] [issue892] Pypy is slower on longs than it should

Amaury Forgeot d Arc tracker at bugs.pypy.org
Thu Jun 14 11:26:15 CEST 2012


Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

Volunteers welcome!
PyPy "long" operations are implemented here:
https://bitbucket.org/pypy/pypy/src/c26dc70ee340/pypy/rlib/rbigint.py#cl-741

This code is mostly independent from the rest of PyPy;
just plain (R)Rython, and lot of maths of course.

One could start with tuning the KARATSUBA_CUTOFF constant.

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue892>
________________________________________


More information about the pypy-issue mailing list