Closed scott-griffiths closed 2 years ago
There's a decorator to manage caching in Python 3.2+ https://docs.python.org/3/library/functools.html#functools.lru_cache
Might be more efficient than our hand-rolled version so we should try it when we stop 2.7 support.
It appears more general than our version but not as useful without some refactoring.
There's a decorator to manage caching in Python 3.2+ https://docs.python.org/3/library/functools.html#functools.lru_cache
Might be more efficient than our hand-rolled version so we should try it when we stop 2.7 support.