Memoize4X<A, B, C, D, T> extension

Returns a memoized version of the function.

Caches the result of the function based on its arguments and actually runs the computation only once for a given combination of arguments.

Because of that, the source function must be pure.

on
  • F4<A, B, C, D, T>

Methods

memoize() F4<A, B, C, D, T>
Returns a memoized version of the function.