A memoization algorithm that only caches the result of the latest set of arguments, where argument equality is determined via a provided equality function.
A memoization algorithm that only caches the result of the latest set of arguments, where argument equality is determined via a provided equality function.
The default areEqual function is a strict equality check on the first four arguments provided.
A memoization algorithm that only caches the result of the latest set of arguments, where argument equality is determined via a provided equality function.