Hi Tuom,

On 26 May 2017 at 19:04, Tuom Larsen <tuom.lar...@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.
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to