Cache::Ref::LRU(3pm)

Cache::Ref::LRU3pm

Least recently used expiry policy

Usage

    my $c = Cache::Ref::LRU->new(
        size => $n,
    );

Overview

This is an implementation of the least recently used expiry policy.

It provides both an array and a doubly linked list based implementation. See Cache::Ref for a discussion.

Attributes

size

The size of the live entries.

lru_class

The class of the LRU list implementation.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

Author

Yuval Kogman

From libcache-ref-perl 0.04-1.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.