Hacker News new | ask | show | jobs
by qntm 5316 days ago
I'm not sure there's anything there to be solved. If a "function" can return two different answers despite being provided with the exact same input parameters, you simply should not be attempting to memoize it.