resqpy.olio.numba_compat.njit

resqpy.olio.numba_compat.njit(*args, **kwargs)[source]

Drop-in replacement for numba.njit that sets “cache” kwarg according to a global config.

If “cache” is defined in the decorator, that takes priority.

Supports both decorator forms, with or without brackets: - @njit - @njit(parallel = True)