15 ms·
Numba seems to fall back to regular slow python code when it can't handle things, without any warning. I couldn't find a way to tell if a routine was compiling
by cschmidt 10y ago
Numba seems to fall back to regular slow python code when it can't handle things, without any warning. I couldn't find a way to tell if a routine was compiling to fast code, or dropping back to slow code. (As I say, I didn't use it that much, so it might exist.)
With Julia is it more well defined when your code is fast. Write type stable code, according to these guidelines...
http://docs.julialang.org/en/release-0.4/manual/performance-tips/ http://docs.julialang.org/en/release-0.4/manual/performance-...
and you code will be going fast. Specifically, @code_warntype tells you when your code is going to be slow.