From functools import lru cache