Numba Dispatchers are excluded from cache keys through setting eq=False in the compile settings objects. This means that we're not comparing instances, which is good for caching, but if we change the inner workings of the functions, it treats them as current. This is bad. To fix this, we should create an equality method that checks the pyfunc code for equality, and then use that for config hashing for the numba caching key.
Numba Dispatchers are excluded from cache keys through setting
eq=Falsein the compile settings objects. This means that we're not comparing instances, which is good for caching, but if we change the inner workings of the functions, it treats them as current. This is bad. To fix this, we should create an equality method that checks the pyfunc code for equality, and then use that for config hashing for the numba caching key.