[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#847835: ITP: libchi-memoize-perl -- memoization implementation backed by CHI



Package: wnpp
Owner: Christopher Hoskin <christopher.hoskin@gmail.com>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org, debian-perl@lists.debian.org

* Package name    : libchi-memoize-perl
  Version         : 0.07
  Upstream Author : Jonathan Swartz <swartz@pobox.com>
* URL             : https://metacpan.org/release/CHI-Memoize
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : memoization implementation backed by CHI

CHI::Memoize is an implementation of the memoization technique using CHI.
Memoize caches the inputs and outputs of a function, if the function is called
again with the same inputs, CHI::Memoize intervenes and provides the cached
result. For slow functions, time is saved, at the expence of space.

CHI::Memoize provides the same facility as Memoize|Memoize, but backed by
CHI|CHI. This means, among other things, that you can:

 * specify expiration times (expires_in) and conditions (expire_if)
 * memoize to different backends, e.g. File, Memcached, DBI, or to multilevel
   caches
 * handle arbitrarily complex function arguments (via CHI key serialization)

For a bit of history and motivation, see

http://www.openswartz.com/2012/05/06/memoize-revisiting-a-twelve-year-old-api

The package will be maintained under the umbrella of the Debian Perl Group.


Reply to: