Pages tagged memoization:

A Better Javascript Memoizer | Unscriptable.com
http://unscriptable.com/index.php/2009/05/01/a-better-javascript-memoizer/

javascript performance memoization programming memoizer
Yes, memoization is a neat concept. But why use it rather than just hand-coded caching mechanisms? It’s easy enough to write a caching routine, right? Here are a few good reasons: * hand-coded caching mechanisms obfuscate your code * multi-variate caching routines are bulky in Javascript * fewer lines of code means fewer bugs * Java programmers will think more highly of you*