After generating cython code, the compilation(cythonize + cc compile .c to .pyd) could be proceeded in a separate process.
Without this, there will be a notable JIT latency.
root_func = jit_root(func)
root_func(arg1, arg2) # root_func uses the original implementation if func hasn't been specialised and compiled yet.
After generating cython code, the compilation(cythonize + cc compile .c to .pyd) could be proceeded in a separate process.
Without this, there will be a notable JIT latency.