Popular recipes by Foo Bar http://code.activestate.com/recipes/users/2940906/2006-07-11T00:31:12-07:00ActiveState Code RecipesMemoize decorator function with cache size limit (Python)
2006-07-11T00:31:12-07:00Foo Barhttp://code.activestate.com/recipes/users/2940906/http://code.activestate.com/recipes/496879-memoize-decorator-function-with-cache-size-limit/
<p style="color: grey">
Python
recipe 496879
by <a href="/recipes/users/2940906/">Foo Bar</a>
(<a href="/recipes/tags/algorithms/">algorithms</a>).
</p>
<p>Yet another memoize decorator, except with a cache size limit with an LRU policy.</p>