aboutsummaryrefslogtreecommitdiff
path: root/sysutils/p5-LJ-Cache/pkg-descr
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-03-31 01:57:06 +0000
committerWill Andrews <will@FreeBSD.org>2001-03-31 01:57:06 +0000
commitcebc4b62898e231b6adbd9f8b932048f37282dbc (patch)
tree2525f23cc913aab89bd4221bfb7bcaac610ff215 /sysutils/p5-LJ-Cache/pkg-descr
parentd057b0a10594b8caaf0793969c813d6e3ea2a641 (diff)
Notes
Diffstat (limited to 'sysutils/p5-LJ-Cache/pkg-descr')
-rw-r--r--sysutils/p5-LJ-Cache/pkg-descr9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysutils/p5-LJ-Cache/pkg-descr b/sysutils/p5-LJ-Cache/pkg-descr
new file mode 100644
index 000000000000..3eed991e718f
--- /dev/null
+++ b/sysutils/p5-LJ-Cache/pkg-descr
@@ -0,0 +1,9 @@
+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 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/