smartjit @jit
decorator adds extra customization of when code execution should fall back to the interpreter. It works as follow:
- For jitted functions with cache (overloads), use the jitted function if available, and interpreted code otherwise
- Add a dispatching logic, an optional function to pass to the jit decorator, which will decide wether to use jit or not.
numba-smartjit is available on PyPI and can be installed with the command below:
pip install numba-smartjit