logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Cache::Ref::Null - Caches nothing

Author

       Yuval Kogman

Description

       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.

Name

       Cache::Ref::Null - Caches nothing

Synopsis

           # 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,
               ],
           );

See Also