uxarray.utils.disable_jit_cache#

uxarray.utils.disable_jit_cache()#

Allows Numba’s JIT cache to be turned on off.

This cache variable lets @njit cache the machine code generated between runs, allowing for faster run times due to the fact that the code doesn’t need to regenerate the machine code every run time. Our use case here was to study performance, in regular usage one might never turn off caching as it will only help if frequently modifying the code or because users have very limited disk space. The default is on (True)