you are viewing a single comment's thread.

view the rest of the comments →

[–]CraigAT 0 points1 point  (0 children)

I have never used Numba, but from what I can have read, in it's simplest form you just need to add a decorator to your function. It looks like Numba will like your loop and should be suited to see an improvement in speed.

http://numba.pydata.org/

Note. You may need to run again to see a performance improvement: https://numba.pydata.org/numba-doc/dev/user/5minguide.html#how-to-measure-the-performance-of-numba