What is memoization?
The Eric Normand Podcast - Podcast autorstwa Eric Normand
Kategorie:
Memoization is a higher order function that caches another function. It can turn some slow functions into fast ones. It saves the result of a function call after the first time to the cache, so if you call the function again with the same arguments, it will find it in the cache.