2023.06.28
A function can only be memoized if it is referentially transparent; that is, only if calling the function has exactly the same effect as replacing that function call with its return value
- referentially transparent
- pure
- no side effects
- mathematical function
- functional programming