Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kingkilr
· 15y ago · 0 comments
Not sure where he gets that Python ships a memoize decorator.
Comments
[–]
ddbeck
15y ago
While not actually called memoize, Python 3.2 ships with the lru_cache decorator in the standard library module functools.
http://docs.python.org/dev/library/functools.html#functools....
[–]
kingkilr
OP
15y ago
I'm aware, there was also almost an LFU cache decorator in there.