Port details on branch 2022Q3 |
- p5-Tie-Cache LRU Cache in Memory through a tie interface
- 0.21_1 devel =3 0.21_1Version of this port present on the latest quarterly branch.
- Maintainer: perl@FreeBSD.org
- Port Added: 2001-04-07 01:30:12
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: p5-Apache-ASP, p5-Devel-Symdump, zip, glib
- Also Listed In: perl5
- License: not specified in port
- WWW:
- https://metacpan.org/release/Tie-Cache
- Description:
- From README:
This module implements a least recently used (LRU) cache in memory
through a tie interface. Any time data is stored in the tied hash, that
key/value pair has an entry time associated with it, and as the cache
fills up, those members of the cache that are the oldest are removed to
make room for new entries.
So, the cache only "remembers" the last written entries, up to the size
of the cache. This can be especially useful if you access great amounts
of data, but only access a minority of the data a majority of the time.
The implementation is a hash, for quick lookups, overlaying a doubly
linked list for quick insertion and deletion. On a WinNT PII 300, writes
to the hash were done at a rate 3100 per second, and reads from the hash
at 6300 per second. Work has been done to optimize refreshing cache
entries that are frequently read from, code like $cache{entry}, which
moves the entry to the end of the linked list internally.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Tie-Cache>0:devel/p5-Tie-Cache
- To install the port:
- cd /usr/ports/devel/p5-Tie-Cache/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Tie-Cache
- pkg install p5-Tie-Cache
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Tie-Cache
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (Tie-Cache-0.21.tar.gz) = d7eaa22f35a21b226f2bfd17782cd4226a584a2364659cd7bf8b24fe37f6fe89
SIZE (Tie-Cache-0.21.tar.gz) = 11200
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- dns/p5-Tie-DNS
- www/p5-Apache-ASP
- for Run
-
- dns/p5-Tie-DNS
- www/p5-Apache-ASP
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Tie-Cache
- USES:
- perl5 shebangfix
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|