The Eric Normand Podcast
What is memoization?

Episode 122 · Season 1

What is memoization?

The Eric Normand Podcast

11:49

About this episode

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.

More from The Eric Normand Podcast

In this episode, I introduce the time lens, and I posit a law about representing time in complex domains.

10m

In this episode, I introduce the volatility lens, which seeks to help us write code that deals with a changing world.

18m

In this episode, I introduce the architecture lens, its questions, and its goal of modeling architectural domains to manage complexity.

24m

In this episode, I introduce the executable specification lens, its questions, and its goal of getting to runnable, testable code as quickly as possible.

15m