| 1 |
Source: libchi-memoize-perl |
| 2 |
Section: perl |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Perl Group <[email protected]> |
| 5 |
Uploaders: Christopher Hoskin <[email protected]> |
| 6 |
Build-Depends: debhelper (>= 11) |
| 7 |
Build-Depends-Indep: libchi-perl, |
| 8 |
libhash-moreutils-perl, |
| 9 |
libmoo-perl, |
| 10 |
libtest-class-most-perl, |
| 11 |
perl |
| 12 |
Standards-Version: 4.2.1 |
| 13 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libchi-memoize-perl |
| 14 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libchi-memoize-perl.git |
| 15 |
Homepage: https://metacpan.org/release/CHI-Memoize |
| 16 |
Testsuite: autopkgtest-pkg-perl |
| 17 |
|
| 18 |
Package: libchi-memoize-perl |
| 19 |
Architecture: all |
| 20 |
Depends: ${misc:Depends}, ${perl:Depends}, |
| 21 |
libchi-perl, |
| 22 |
libhash-moreutils-perl, |
| 23 |
libmoo-perl |
| 24 |
Description: memoization implementation backed by CHI |
| 25 |
CHI::Memoize is an implementation of the memoization technique using CHI. |
| 26 |
Memoize caches the inputs and outputs of a function, if the function is called |
| 27 |
again with the same inputs, CHI::Memoize intervenes and provides the cached |
| 28 |
result. For slow functions, time is saved, at the expence of space. |
| 29 |
. |
| 30 |
CHI::Memoize provides the same facility as Memoize|Memoize, but backed by |
| 31 |
CHI|CHI. This means, among other things, that you can: |
| 32 |
. |
| 33 |
* specify expiration times (expires_in) and conditions (expire_if) |
| 34 |
* memoize to different backends, e.g. File, Memcached, DBI, or to multilevel |
| 35 |
caches |
| 36 |
* handle arbitrarily complex function arguments (via CHI key serialization) |
| 37 |
. |
| 38 |
For a bit of history and motivation, see |
| 39 |
. |
| 40 |
http://www.openswartz.com/2012/05/06/memoize-revisiting-a-twelve-year-old-api |