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

Tie::Cache::LRU::LinkedList - Tie::Cache::LRU implemented using a linked list

Author

       Michael G Schwern <schwern@pobox.com>

Description

       This is an implementation of Tie::Cache::LRU using a linked list structure.  Theoretically, this is an
       efficient algorithm, however it may be lose out in smaller cache sizes (where small <= ??) due to its
       relatively high constant.

Name

       Tie::Cache::LRU::LinkedList - Tie::Cache::LRU implemented using a linked list

See Also

       Tie::Cache::LRU, Tie::Cache::LRU::LinkedList, Tie::Cache::LRU::Virtual, Tie::Cache

perl v5.36.0                                       2022-08-29                   Tie::Cache::LRU::LinkedList(3pm)

Synopsis

         use Tie::Cache::LRU::LinkedList;

         tie %cache, 'Tie::Cache::LRU', 500;

         ...the rest is as Tie::Cache::LRU...

See Also