New issue 1893: numpypy's iterator is slower than pypy's
https://bitbucket.org/pypy/pypy/issue/1893/numpypys-iterator-is-slower-than-pypys
mattip:
This test compares three ways to iterate over numpy ndarrays: a pure python
loop, an implicit numpy loop, and an nditer.
numpypy's iterator is ~2x slower than a pure python loop
The nditer's performance is ~100 times worse than a pure python loop:
$pypy test.py
add10_numpy: 0.0288829803467
True
add10_nditer: 0.963934183121
True
add10_py: 0.013454914093
True
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue