[pypy-issue] [issue1125] numpypy much slower than list implementation

mikefc tracker at bugs.pypy.org
Thu Apr 12 02:16:25 CEST 2012

New submission from mikefc <coolbutuseless at gmail.com>:

On the Numba mailing list, I came across a test case where numpypy was much slower 
than a list implementation, and I thought this might a useful benchmark.


The function is "pairwise distance function to calculate the
Haversin distance between all points in two vectors"


List Implementation: 2.00559
C-List Implementation: 0.28070
Numpy Implementation: 0.29622
Cython Implementation: 0.19165
Numexpr Implementation: 0.09320

Using PyPy:
List Implementation: 0.27367
Numpy Implementation: 4.48617

messages: 4244
nosy: mikefc, pypy-issue
priority: performance bug
status: unread
title: numpypy much slower than list implementation

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list