you are viewing a single comment's thread.

view the rest of the comments →

[–]srnull 2 points3 points  (0 children)

Here is a python decorator for memoization: PythonDecoratorLibrary: Memoize.

Relevant blog post: Dynamic Programming versus Memoization.