Memoize - Make functions faster by trading space for time River stage three • 77 direct dependents • 293 total dependents

`Memoizing' a function makes it faster by trading space for time. It does this by caching the return values of the function in a table. If you call the function again with the same arguments, "memoize" jumps in and gives you the value out of the tabl...

MJD/Memoize-1.03 - 22 Apr 2012 21:19:03 UTC - Search in distribution

CHI::Memoize - Make functions faster with memoization, via CHI River stage one • 1 direct dependent • 6 total dependents

"`Memoizing' a function makes it faster by trading space for time. It does this by caching the return values of the function in a table. If you call the function again with the same arguments, "memoize" jumps in and gives you the value out of the tab...

JSWARTZ/CHI-Memoize-0.07 - 13 Aug 2014 12:34:07 UTC - Search in distribution

Tie::Memoize - add data to hash when needed River stage five • 10652 direct dependents • 31363 total dependents

This package allows a tied hash to autoload its values on the first access, and to use the cached value on the following accesses. Only read-accesses (via fetching the value or "exists") result in calls to the functions; the modify-accesses are perfo...

XSAWYERX/perl-5.32.0 - 20 Jun 2020 20:38:54 UTC - Search in distribution

Memoize::Lift - lift expression evaluation to compile time River stage zero No dependents

This module supplies an operator that causes an expression to be evaluated immediately at compile time, memoising its value for use at runtime....

ZEFRAM/Memoize-Lift-0.000 - 29 May 2011 20:52:22 UTC - Search in distribution

Memoize::Once - memoise expression on first execution River stage zero No dependents

This module supplies an operator that causes an expression to be evaluated only once per program run, memoising its value for the remainder of the run....

ZEFRAM/Memoize-Once-0.002 - 29 Jul 2017 13:29:15 UTC - Search in distribution

Memoize::Saves - Plug-in module to specify which return values should be memoized River stage zero No dependents

Memoize::Saves is a plug-in module for Memoize. It allows the user to specify which values should be cached or which should be dumped. Please read the manual for Memoize for background information. Use the CACHE option to specify a list of return val...

FLORA/Memoize-Saves-0.67 - 29 Nov 2010 18:22:53 UTC - Search in distribution

Attribute::Memoize - A Memoize attribute River stage one • 5 direct dependents • 5 total dependents

This attribute makes it slightly easier (and modern) to memoize a function by providing an attribute, ":Memoize" that makes it unnecessary for you to explicitly call "Memoize::memoize()". Options can be passed via the attribute per usual (see the "At...

DANKOGAI/Attribute-Util-1.07 - 24 Feb 2013 09:18:06 UTC - Search in distribution

Memoize::ExpireLRU - Expiry plug-in for Memoize that adds LRU cache expiration River stage three • 2 direct dependents • 108 total dependents

For the theory of Memoization, please see the Memoize module documentation. This module implements an expiry policy for Memoize that follows LRU semantics, that is, the last n results, where n is specified as the argument to the "CACHESIZE" parameter...

NEILB/Memoize-ExpireLRU-0.56 - 06 Jul 2016 23:05:22 UTC - Search in distribution

Memoize::Memcached - use a memcached cache to memoize functions River stage zero No dependents

TCOHEN/Memoize-Memcached-0.04 - 25 Feb 2014 12:55:34 UTC - Search in distribution

grab/Memoize.pm River stage zero No dependents

EDAVIS/xmltv-0.5.33 - 08 May 2004 11:59:24 UTC - Search in distribution

Git::SVN::Memoize::YAML - store Memoized data in YAML format River stage two • 11 direct dependents • 19 total dependents

This module provides a class that can be used to tie a hash to a YAML file. The file is read when the hash is initialized and rewritten when the hash is destroyed. The intent is to allow Memoize to back its cache with a file in YAML format, just like...

MSOUTH/Git-0.42 - 10 Oct 2017 00:27:47 UTC - Search in distribution

Aspect::Library::Memoize - Cross-cutting memoization River stage zero No dependents

An aspect interface on the Memoize module. Only difference from Memoize module is that you can specify subs to be memoized using pointcuts. Works by memoizing on the 1st call, and calling the memoized version on subsequent calls....

ADAMK/Aspect-Library-Memoize-1.00 - 26 May 2011 06:04:52 UTC - Search in distribution

Memoize::HashKey::Ignore - allow certain keys not to be memoized. River stage zero No dependents

BINARY/Memoize-HashKey-Ignore-0.04 - 04 Jun 2018 01:40:25 UTC - Search in distribution

Memoize::Expire::ByInstance - A Memoize plugin which provides per-class-instance expiration of memoized data. River stage zero No dependents

Memoize::Expire::ByInstance is a plug-in module for Memoize which supports memoization of class-methods and allows you to set their maximums for expiration on a per-instance bases. Memoize works by caching the returend value of a function invocation ...

JBEVERLY/Memoize-Expire-ByInstance-0.500005 - 10 Jul 2012 08:30:06 UTC - Search in distribution

Memoize::Memcached::Attribute - auto-memoize function results using memcached and subroutine attributes River stage zero No dependents

Memoization is a process whereby you cache the results of a function, based on its input, in memory so that repeated calls to the same function don't waste cycles recalculating the results. Generally you use it with functions that are somewhat expens...

JIMBOB/Memoize-Memcached-Attribute-0.11 - 11 Jun 2012 17:29:47 UTC - Search in distribution

Perinci::Sub::Property::memoize - Memoize function River stage zero No dependents

This property implements a simple memoize. There are currently no options yet. See Memoize for more information and caveats about memoizing....

PERLANCAR/Perinci-Sub-Property-memoize-0.04 - 11 May 2016 11:22:39 UTC - Search in distribution

App::Chart::Memoize::ConstSecond - memoize functions to cache for 1 second River stage zero No dependents

"App::Chart::Memoize::ConstSecond" modifies given functions so that the return value from the original is cached for 1 second (until "time()" ticks over). This is meant to save work if the original func has to do something slow like a disk lookup or ...

KRYDE/App-Chart-269 - 15 Mar 2020 08:38:27 UTC - Search in distribution

Devel::Memo - memoize function calls River stage zero No dependents

A Devel::Memo object is defined as a subroutine reference to do some sort of calculation, together with a simple sort of prototype. The elements of the prototype may be: -eq, indicating a simple scalar argument (number or string); -equal, indicating ...

JGLICK/Devel-Memo-0.004 - 13 Jan 1998 17:50:02 UTC - Search in distribution

FP::Memoizing - a functional memoize River stage zero No dependents

PFLANZE/FunctionalPerl-0.72.66 - 24 May 2021 11:36:26 UTC - Search in distribution

Lazy::Bool::Cached - Boolean wrapper lazy with memoize River stage zero No dependents

This class extends Lazy::Bool Functions lzbc Helper to create an instance use Lazy::Bool::Cached qw(lzbc); my $a = 6; my $b = 4; my $condition = lzbc { $a > $b };...

PACMAN/Lazy-Bool-0.06 - 26 Jan 2013 15:12:18 UTC - Search in distribution
94 results (0.071 seconds)