3 ms·
You can do brainless for loops in Python really easily. Oh yeah, toss numba or cython on top and you are back to numpy speed...
by __mharrison__ 2y ago
You can do brainless for loops in Python really easily.
Oh yeah, toss numba or cython on top and you are back to numpy speed...
- xgdgsc 2y agoNope they are still libraries with their own feature set that need remembering.
- __mharrison__ 2y agoOk, if you consider @jit a feature set... (Admittedly, there are more features, but in my book, I demonstrate pure Python code that runs as fast as numpy and cython with this decorator added.)