Cache::Ref::Null(3pm)

Cache::Ref::Null3pm

Caches nothing

Usage

    # useful for comparing the effect of a cache compared to no
    # caching without code changes:
    my $c = Cache::Profile::Compare->new(
        caches => [
            Cache::Ref::Foo->new( ... ),
            Cache::Ref->Null->new,
        ],
    );

Overview

This cache implementation will cache nothing.

This is primarily intended for testing or comparing runtime without a cache against runtime with a cache.

It's like Cache::Null but supports the additional methods in Cache::Ref.

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.