title: python @memoize vs functools.lru_cache
body: <p>I'm not sure what the advantages and disadvantages of these 2 are. Provided <code>@lru_cache</code> from functools is a standard library tool and seems to have more control over <code>@memoize</code>, why does <code>@memoize</code> even exist?</p>
  
  <p>Edit: I am referring to memoize from here -> <a href="https://wiki.python.org/moin/PythonDecoratorLibrary#Memoize" rel="noreferrer">https://wiki.python.org/moin/PythonDecoratorLibrary#Memoize</a></p>