1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/sysutils/p5-LJ-Cache/pkg-descr
Dima Dorfman 74aada477d Remove duplicate words where appropriate.
Approved by:	sobomax, obrien
2001-06-24 20:29:39 +00:00

10 lines
530 B
Plaintext

This class implements an LRU dictionary cache. The two operations on it are
get() and set(), both of which promote the key being referenced to the ``top''
of the cache, so it will stay alive longest. When the cache is full and a
new item needs to be added, the oldest one is thrown away. You should be able
to regenerate the data at any time, if get() returns undef. This class is
useful for caching information from a slower data source while also keeping
a bound on memory usage.
WWW: http://livejournal.com/code/cache/