LWN.net Logo

Memoization in Java Using Dynamic Proxy Classes (O'Reilly)

Tom White discusses memoization in Java. "Memoization is a technique borrowed from functional programming languages like Lisp, Python, and Perl for giving functions a memory of previously computed values. Memoizing a function adds a transparent caching wrapper to the function, so that function values that have already been calculated are returned from a cache rather than being recomputed each time."
(Log in to post comments)

Functional languages? NOT!

Posted Aug 28, 2003 23:45 UTC (Thu) by leandro (subscriber, #1460) [Link]

> functional programming languages like Lisp, Python, and Perl

Python and Perl are OOish procedural, not functional.

Copyright © 2003, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds