6 ms·
I think that Numpy with Numba for routines that aren't easily vectorized and or need if statements is just about the perfect combination. https://numba.pydata.o
by tkuraku 6y ago
I think that Numpy with Numba for routines that aren't easily vectorized and or need if statements is just about the perfect combination. https://numba.pydata.org/ https://numba.pydata.org/. Numba functions are very close to C/C++ performance.
EDIT: You can write loops explicitly and have OpenMP style for-loops and they are fast.