chickadee » memoize » memoize

memoize PROC #!optional LIMITprocedure

Memoizes procedure PROC. LIMIT is an integer optionally set to avoid excessive memory usage.

If the LIMIT is reached, each new result memoized will result in the deletion of a random previous result.