Function > mem
An optimization technique used to speed up consecutive function calls by caching the result of calls with identical input.
An optimization technique used to speed up consecutive function calls by caching the result of calls with identical input.