numbakit-ode
numbakit-ode copied to clipboard
No-Numba mode
Can we replace NBKODE_NONUMBA=0
with NUMBA_DISABLE_JIT=0
? Or are we doing something more?
NUMBA_DISABLE_JIT Disable JIT compilation entirely. The jit() decorator acts as if it performs no operation, and the invocation of decorated functions calls the original Python function instead of a compiled version. This can be useful if you want to run the Python debugger over your code.
The main difference is that using NBKODE_NONUMBA
allows running numbakit-ode
without having numba installed. This is certainly debatable (it is called numbakit
after all). But my feeling is the cost is small (an environment variable and a compatibility module).