ravi
ravi copied to clipboard
Enable background JIT compilation
At present the JIT compilation blocks execution - this slows down overall execution; we need to perform JIT compilation in the background and let the execution continue in interpreted mode until the code has been complied.
Maybe two modes are best:
- Explicit request to compile should be synchronous
- Automatic compilation should be in the background - we need a way to prioritise the auto compilation as well to ensure that the most expensive functions are compiled first.