How to Install and Uninstall perl-Tie-Cache Package on openSUSE Leap

Last updated: November 24,2024

1. Install "perl-Tie-Cache" package

This tutorial shows how to install perl-Tie-Cache on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-Tie-Cache

2. Uninstall "perl-Tie-Cache" package

Here is a brief guide to show you how to uninstall perl-Tie-Cache on openSUSE Leap:

$ sudo zypper remove perl-Tie-Cache

3. Information about the perl-Tie-Cache package on openSUSE Leap

Information for package perl-Tie-Cache:
---------------------------------------
Repository : Main Repository
Name : perl-Tie-Cache
Version : 0.21-bp155.2.10
Arch : noarch
Vendor : openSUSE
Installed Size : 34.8 KiB
Installed : No
Status : not installed
Source package : perl-Tie-Cache-0.21-bp155.2.10.src
Upstream URL : http://search.cpan.org/dist/Tie-Cache/
Summary : LRU Cache in Memory
Description :
This module implements a least recently used (LRU) cache in memory through
a tie interface. Any time data is stored in the tied hash, that key/value
pair has an entry time associated with it, and as the cache fills up, those
members of the cache that are the oldest are removed to make room for new
entries.
So, the cache only "remembers" the last written entries, up to the size of
the cache. This can be especially useful if you access great amounts of
data, but only access a minority of the data a majority of the time.
The implementation is a hash, for quick lookups, overlaying a doubly linked
list for quick insertion and deletion. On a WinNT PII 300, writes to the
hash were done at a rate 3100 per second, and reads from the hash at 6300
per second. Work has been done to optimize refreshing cache entries that
are frequently read from, code like $cache{entry}, which moves the entry to
the end of the linked list internally.