Alex Gaynor <[email protected]> added the comment:
Made some improvements, now it's *only* 2x slower than CPython:
~/p/pypy $ ./pypy-c -mtimeit -s "from array import array; x = array('B', '*' *
100000)" "x.tostring()"
100000 loops, best of 3: 8.5 usec per loop
~/p/pypy $ ./pypy-c -mtimeit -s "from array import array; x = array('B', '*' *
100000)" "x.tostring()" 🕕 3.62s
100000 loops, best of 3: 8.53 usec per loop
~/p/pypy $ ./pypy-c -mtimeit -s "from array import array; x = array('B', '*' *
100000)" "x.tostring()" 🕐 3.57s
100000 loops, best of 3: 8.48 usec per loop
~/p/pypy $ ./pypy-c -mtimeit -s "from array import array; x = array('B', '*' *
100000)" "x.tostring()" 🕛 3.57s
100000 loops, best of 3: 8.45 usec per loop
~/p/pypy $ ./pypy-c -mtimeit -s "from array import array; x = array('B', '*' *
100000)" "x.tostring()" 🕐 3.54s
100000 loops, best of 3: 8.59 usec per loop
----------
status: unread -> chatting
________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1631>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue