diojit icon indicating copy to clipboard operation
diojit copied to clipboard

separate compilation process

Open thautwarm opened this issue 5 years ago • 1 comments

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.

thautwarm avatar Oct 06 '20 10:10 thautwarm

No need so far. JITing a method now is damn fast. However, I'd keep this issue, as @lfkdsk pointed out, it is possible for python to send compilation tasks to multiple processes, which will send back the tasks to julia, which is in the same process with python.

thautwarm avatar Feb 03 '21 12:02 thautwarm