cachetools

Undocumented in source.

Modules

cache
module cachetools.cache
Undocumented in source.
cache2q
module cachetools.cache2q

2Q cache is variant of multi-level LRU cache. Original paper http://www.vldb.org/conf/1994/P439.PDF It is adaptive, scan-resistant and can give more hits than plain LRU.

This cache consists from three parts (In, Out and Main) where 'In' receive all new elements, 'Out' receives all overflows from 'In', and 'Main' is LRU cache which hold all long-lived data.

cachelru
module cachetools.cachelru

CacheLRU contains maximum size items

containers
module cachetools.containers
Undocumented in source.
hash
module cachetools.hash
Undocumented in source.
interfaces
module cachetools.interfaces

Public Imports

cachetools.interfaces
public import cachetools.interfaces;
cachetools.cache
public import cachetools.cache;
cachetools.containers.hashmap
public import cachetools.containers.hashmap;
cachetools.hash
public import cachetools.hash;

Meta