You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mdbartos It is tangentially related. #230 addresses the issue of numba being less efficient due to the strict typing. This ticket is to address the set of cases where numpy is just simply faster than using numba.
The case presented above is the code for a scalar function. The array case uses numba, but for such a simple computation, using numpy produces a faster result. Numexpr is a library that could be of use here to parallelize the computation in a memory efficient way.
I think the usage of numba for certain functions needs to be re-evaluated. Sometimes the numba version is much slower than just doing things in numpy.
Example:
The text was updated successfully, but these errors were encountered: