module documentation

Various cache strategies.

Caches are responsible for ensuring that access to entries and clusters is as fast as possible. This module offers mulitple cache implementations which are meant to reduce the amount of times data has to actually be uncompressed from the cluster.

Class BaseCache Base class for caches.
Class HybridCache A pyzim.cache.BaseCache that internally utilizes both a pyzim.cache.LastAccessCache and a pyzim.cache.TopAccessCache.
Class LastAccessCache A BaseCache implementation that caches by last access.
Class NoOpCache A BaseCache implementation that does not cache.
Class TopAccessCache A BaseCache implementation that caches by most accessed.
Class _DoubleLinkedList A double linkked list used by the LRU cache.
Class _DoubleLinkedListElement An element in a double linked list used by the LRU cache.