How to clear cache (or force recompilation) in numba
问题 I have a fairly large codebase written in numba, and I have noticed that when the cache is enabled for a function calling another numba compiled function in another file, changes in the called function are not picked up when the called function is changed. The situation occurs when I have two files: testfile2: import numba @numba.njit(cache=True) def function1(x): return x * 10 testfile: import numba from tests import file1 @numba.njit(cache=True) def function2(x, y): return y + file1