BSD Ports

devel/p5-Memoize 1.17 FreeBSD

Transparently speed up perl functions by caching return values

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
39.1 KiB, 72.0 KiB installed

Description

`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 table, instead of letting the function compute the value all over again.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Memoize1.17
DragonFlydevel/p5-Memoize1.17
HardenedBSDdevel/p5-Memoize1.17
GhostBSDdevel/p5-Memoize1.17

Install

Binary package:

pkg install p5-Memoize

From the ports tree:

cd /usr/ports/devel/p5-Memoize/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Memoize>0:devel/p5-Memoize

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.171.171.151.171.17
FreeBSD:14:quarterly1.171.17n/a1.171.17
FreeBSD:15:latest1.171.17n/a1.171.17
FreeBSD:15:quarterly1.171.17n/an/an/a
FreeBSD:16:latest1.171.17n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 12
  • %%SITE_PERL%%/Memoize.pm
  • %%SITE_PERL%%/Memoize/AnyDBM_File.pm
  • %%SITE_PERL%%/Memoize/Expire.pm
  • %%SITE_PERL%%/Memoize/NDBM_File.pm
  • %%SITE_PERL%%/Memoize/SDBM_File.pm
  • %%SITE_PERL%%/Memoize/Storable.pm
  • %%PERL5_MAN3%%/Memoize.3.gz
  • %%PERL5_MAN3%%/Memoize::AnyDBM_File.3.gz
  • %%PERL5_MAN3%%/Memoize::Expire.3.gz
  • %%PERL5_MAN3%%/Memoize::NDBM_File.3.gz
  • %%PERL5_MAN3%%/Memoize::SDBM_File.3.gz
  • %%PERL5_MAN3%%/Memoize::Storable.3.gz
distinfo 1
FileSizeSHA256
Memoize-1.17.tar.gz418272beef0afb2438e542c599b54b17a2830e337f53d69fce19f2884955743846696
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.