use Cache::LRU;
my $cache = Cache::LRU.new(size => 1024);
$cache->set($key, $value);
my $value = $cache->get($key);
my $removed_value = $cache->remove($key);
koorchik / perl6-cache-lru Goto Github PK
View Code? Open in Web Editor NEWThis project forked from fayland/perl6-cache-lru
Simple, fast implementation of LRU cache in pure perl