lru cache python

from functools import lru_cache 
  
@lru_cache(maxsize = 100) 
def myfunc(args):
  // do something
Blue-eyed Bird