Memoize

Memoize(3p) Perl Programmers Reference Guide Memoize(3p)

Memoize

Memoize(3p) Perl Programmers Reference Guide Memoize(3p) # Memoize(3p) Perl Programmers Reference Guide Memoize(3p) NNAAMMEE # Memoize - Make functions faster by trading space for time SSYYNNOOPPSSIISS # # This is the documentation for Memoize 1.03 use Memoize; memoize('slow_function'); slow_function(arguments); # Is faster than it was before This is normally all you need to know. However, many options are available: memoize(function, options...); Options include: NORMALIZER => function INSTALL => new_name SCALAR_CACHE => ‘MEMORY’ # SCALAR_CACHE => ['HASH', \%cache_hash ] SCALAR_CACHE => ‘FAULT’ # SCALAR_CACHE => ‘MERGE’ # LIST_CACHE => ‘MEMORY’ # LIST_CACHE => ['HASH', \%cache_hash ] LIST_CACHE => ‘FAULT’ # LIST_CACHE => ‘MERGE’ # DDEESSCCRRIIPPTTIIOONN # `Memoizing' a function makes it faster by trading space for time. ...