[pypy-dev] PyPy doesn't make code written in C faster

Armin Rigo arigo at tunes.org
Fri May 31 16:15:58 CEST 2013


Hi Carl Friedrich,

On Fri, May 31, 2013 at 12:01 PM, Carl Friedrich Bolz <cfbolz at gmx.de> wrote:
> I have only glanced at the code, but isn't the right argument of the divmod
> always a power of two? So it can be replaced by a shift and a mask, giving
> the right complexity.

It's a power of 10.


A bientôt,

Armin.


More information about the pypy-dev mailing list