[pypy-dev] round
Armin Rigo
armin.rigo at gmail.com
Fri May 26 16:34:13 EDT 2017
Hi Tuom,
On 26 May 2017 at 19:04, Tuom Larsen <tuom.larsen at gmail.com> wrote:
> I noticed that `round` seem to run very slow. Is this a known issue or
> should I file an bug report? Or am I missing something?
You're perfectly right. Yes, please open a bug report. It looks like
an easy fix: "def round_double()" in rpython/rlib/rfloat.py is a copy
of CPython's version, but without the fast path for the case of
"round(x, 0)", which is the default.
A bientôt,
Armin.
More information about the pypy-dev
mailing list