1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
Source: libchi-memoize-perl
Section: perl
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Christopher Hoskin <mans0954@debian.org>
Build-Depends: debhelper (>= 11)
Build-Depends-Indep: libchi-perl,
libhash-moreutils-perl,
libmoo-perl,
libtest-class-most-perl,
perl
Standards-Version: 4.2.1
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libchi-memoize-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libchi-memoize-perl.git
Homepage: https://metacpan.org/release/CHI-Memoize
Testsuite: autopkgtest-pkg-perl
Package: libchi-memoize-perl
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends},
libchi-perl,
libhash-moreutils-perl,
libmoo-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
|