3 ms·
Numba 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
by physicsguy 3y ago
Numba 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”