1 min readMar 6, 2020
It should be noted that lru_cache should only be used for Pure Functions, ie those always return the same output for a given input and don’t have any side effects. It may seem obvious but still…
It should be noted that lru_cache should only be used for Pure Functions, ie those always return the same output for a given input and don’t have any side effects. It may seem obvious but still…