mdipierro / nlib

The book "Annotated Algorithms in Python" and the nlib.py library
1.33k stars 115 forks source link

Does it numba? #1

Open twiecki opened 8 years ago

twiecki commented 8 years ago

Although probably very slow in pure Python the benefit of not using numpy is that the code can potentially be JIT compiled via numba or pypy to speed things up. Just curious if this has been explored at all and how it benchmarks against numpy.

mdipierro commented 8 years ago

Agains numpy LA is about ~100 slower. Other algorithms like solvers are comparable with SciPy. I never tried numba. If you try nlib with Numba let me know.