[pypy-dev] PyPy is much slower than CPython example / question

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Fri Jul 8 03:05:18 CEST 2011


On 12:38 am, alex.gaynor at gmail.com wrote:
>repeat itself is not slow, it's just that when it's used it iterates 
>over
>it, in RPython (meaning it's not jit'd) which results in a dictionary 
>lookup
>for the next() method at every iteration, which is slowish, list hits a
>special case so it doesn' thave that overhead.

Is it time to reimplement repeat in Python then?

Jean-Paul


More information about the pypy-dev mailing list