debian man page for cache::ref::lifo

Query: cache::ref::lifo

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Cache::Ref::LIFO(3pm)					User Contributed Perl Documentation				     Cache::Ref::LIFO(3pm)

NAME
Cache::Ref::LIFO - Saves entries until full, discarding subsequent sets.
SYNOPSIS
my $c = Cache::Ref::LIFO->new( size => $n ); $c->set( foo => 42 ); $c->get("foo");
DESCRIPTION
This is a very naive cache algorithm, it saves cache sets until the cache is full, at which point all additional saves which aren't a value update are discarded immediately. For very predictable workflows this is potentially a good fit, provided the MFU is used early on. The advantages is that the code is very simple as a result.
AUTHOR
Yuval Kogman
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Yuval Kogman. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.12.4 2010-09-23 Cache::Ref::LIFO(3pm)
Related Man Pages
cache::cachemetadata(3pm) - debian
cache::memory(3pm) - debian
cache::object(3pm) - debian
cache::ref(3pm) - debian
cache::sizeawarecache(3pm) - debian
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
awk or sed - Convert 2 lines to 1 line
How can I do this in VI editor?
One instance of comparing grep and awk
My first PERL incarnation... Audio Oscillograph