Tie::Cache::LRU::LinkedList(3pm) | User Contributed Perl Documentation | Tie::Cache::LRU::LinkedList(3pm) |
Tie::Cache::LRU::LinkedList - Tie::Cache::LRU implemented using a linked list
use Tie::Cache::LRU::LinkedList; tie %cache, 'Tie::Cache::LRU', 500; ...the rest is as Tie::Cache::LRU...
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.
Michael G Schwern <schwern@pobox.com>
Tie::Cache::LRU, Tie::Cache::LRU::LinkedList, Tie::Cache::LRU::Virtual, Tie::Cache
2022-08-29 | perl v5.34.0 |