Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Cache::Ref::GCLOCK - GCLOCK cache replacement algorithm

Attributes

       size
           The size of the live entries.

Author

       Yuval Kogman

Description

       This algorithm is related to Cache::Ref::CLOCK but instead of starting all cache hits from "k", a counter
       is increased on every hit.

       This provides behavior which models an LFU expiry policy (without taking into account the full keyspace).

Name

       Cache::Ref::GCLOCK - GCLOCK cache replacement algorithm

Synopsis

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

See Also