3 ms·
Ah, I was under the impression that using array OPs inside a numba njit gave worse performance. Has this changed, or is my memory tricking me? Do you have a so
by cl3misch 3y ago
Ah, I was under the impression that using array OPs inside a numba njit gave worse performance. Has this changed, or is my memory tricking me?
Do you have a source for this? I have not seen it in the numba docs.
- physicsguy 3y agoNumba replaces ops with LLVM byte code equivalent so the compiler will optimise out and coalesce the operations as part of the optimisation stage. If you want to look at the sort of things compilers do though, take a look at “common subexpression elimination”