p5-Tie-Cache - LRU Cache in Memory through a tie interface

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Latest amd64
Package filename p5-Tie-Cache-0.21_1.txz
Package name p5-Tie-Cache
Package version 0.21
Package release 1
Package architecture amd64
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/Tie-Cache
License -
Maintainer perl@FreeBSD.org
Download size 11.42 KB
Installed size 23.47 KB
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.
WWW: https://metacpan.org/release/Tie-Cache


Package Version Architecture Repository
p5-Tie-Cache-0.21_1.txz 0.21 i386 FreeBSD Ports Latest
p5-Tie-Cache-0.21_1.txz 0.21 amd64 FreeBSD Ports Quarterly
p5-Tie-Cache-0.21_1.txz 0.21 i386 FreeBSD Ports Quarterly
p5-Tie-Cache - - -


Name Value
perl5 = 5.28.1_1


Type URL
Mirror pkg.freebsd.org
Binary Package p5-Tie-Cache-0.21_1.txz
Source Package devel/p5-Tie-Cache

Install Howto

Install p5-Tie-Cache txz package:

# pkg install p5-Tie-Cache

See Also

Package Description
p5-Tie-DBI-1.06_1.txz Perl module implementing Tie hash to a DBI handle
p5-Tie-DB_File-SplitHash-1.05_1.txz Wrapper around the DB_File Berkeley database system
p5-Tie-DB_FileLock-0.11_1.txz Locking access to Berkeley DB v1.x
p5-Tie-DNS-1.151560,1.txz Tie interface to Net::DNS
p5-Tie-DxHash-1.05_2.txz Perl module implementing ordered hashes with duplicate keys
p5-Tie-EncryptedHash-1.24_1.txz Hashes (and objects based on hashes) with encrypting fields
p5-Tie-File-1.00_1.txz Access the lines of a disk file via a Perl array
p5-Tie-File-AsHash-0.08_1.txz Access the lines of a disk file via a Perl hash
p5-Tie-FileLRUCache-1.05_1.txz Lightweight but robust filesystem based persistent LRU cache
p5-Tie-Function-0.02_1.txz Wrap functions in tied hash sugar
p5-Tie-Hash-Indexed-0.05_1.txz Ordered hashes for Perl in XS
p5-Tie-Hash-MultiValue-1.05.txz Store multiple values per key
p5-Tie-Hash-Regex-1.12.txz Match hash keys using Regular Expressions
p5-Tie-Hash-Sorted-0.10_1.txz Tie::Hash::Sorted - presents hashes in sorted order
p5-Tie-Hash-TwoWay-1.08_1.txz Tie::Hash::TwoWay - two-way mapping between disjoint sets