The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "ExpireLRU"

Memoize::ExpireLRU - Expiry plug-in for Memoize that adds LRU cache expiration River stage three • 2 direct dependents • 119 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 - Make functions faster by trading space for time River stage three • 78 direct dependents • 308 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...

ARISTOTLE/Memoize-1.16 - 29 Jan 2023 09:05:05 UTC - Search in distribution
  • Memoize::Expire - Plug-in module for automatic expiration of memoized values

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

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

Tie::Hash::Cache::MRU - a simple MRU cache with a TIEHASH interface River stage zero No dependents

Create a tied hash interface that memoizes only so many entries. Expiry is obtained by keeping two cache hashes, and throwing out the old one when the new one gets more than SIZE buckets filled. this is crude but effectively avoids all the bookkeepin...

DAVIDNICO/Tie-Hash-Cache-MRU-0.02 - 10 Dec 2004 21:32:09 UTC - Search in distribution
5 results (0.113 seconds)