[Chicago-talk] neat little optimization

Andy_Bach at wiwb.uscourts.gov Andy_Bach at wiwb.uscourts.gov
Tue Oct 12 21:25:46 CDT 2004

You might look at Memoize - I've not used it, but read a few articles and 
it does just what you're doing there but you only need to do:
 # This is the documentation for Memoize 1.01
             use Memoize;
             slow_function(arguments);    # Is faster than it was before

It includes ways to freeze/thaw the cache and various tweaks to chose 
cache types, etc.


Andy Bach, Sys. Mangler
Internet: andy_bach at wiwb.uscourts.gov 
VOICE: (608) 261-5738  FAX 264-5932

Contrariwise," continued Tweedledee, "if it was so, it might be, and
if it were so, it would be; but as it isn't, it ain't.  That's logic!"
              -- Lewis Carroll, "Through the Looking Glass"

More information about the Chicago-talk mailing list