Got Python Hotspots? Numba-JIT Them Away!
·46 words·1 min
Do you have a hotspot in your Python code? Is that loop looking too unnatural shoving compute into numpy? Now there is cure. Just import numba, prefix your function with @jit and watch your code run order or magnitude (or two (or three)) faster! https://numba.pydata.org/numba-doc/0.12.2/tutorial_firststeps.html