3 ms·
Take a look into numba, you add a decorator to your function and it turns it into compiled code.
by raytopia 2mo ago
Take a look into numba, you add a decorator to your function and it turns it into compiled code.
- maleldil 2mo agoIt's JIT only, and it needs to be in a particular shape to be effectively compiled. It's mostly for numeric code, but there are many other cases where native code would be better.