devel/p5-Tie-Cache 0.21_1 DragonFly
LRU Cache in Memory through a tie interface
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- Categories
- devel, perl5
- Package size
- 11.4 KiB, 23.5 KiB installed
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.
In the other systems
The newest version among them is 0.21, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-Tie-Cache | 0.21_1 newest | none known | - | [email protected] | - |
| FreeBSD | devel/p5-Tie-Cache | 0.21_1 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-Tie-Cache | 0.21p0 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| NetBSD | devel/p5-Tie-Cache | 0.21nb12 newest | none known | - | [email protected] | 2026-07-16 |
| HardenedBSD | devel/p5-Tie-Cache | 0.21_1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Tie-Cache | 0.21_1 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-Tie-Cache
From DPorts:
cd /usr/dports/devel/p5-Tie-Cache && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.