We don't want to cache non-deterministic functions, so using the parameters as the cache key isn't robust. We need a way to detect whether a function is deterministic, but this seems like a very hard problem to solve analytically. Numerically though, it is feasible.
We don't want to cache non-deterministic functions, so using the parameters as the cache key isn't robust. We need a way to detect whether a function is deterministic, but this seems like a very hard problem to solve analytically. Numerically though, it is feasible.