[ trixie ]
[ sid ]
[ 原始碼: cachey ]
套件:python3-cachey(0.2.1-3)
Caching mindful of computation/storage costs
Humans repeat stuff. Caching helps.
Normal caching policies like LRU aren't well suited for analytic computations where both the cost of recomputation and the cost of storage routinely vary by one million or more.
Cachey tries to hold on to values that have the following characteristics
1. Expensive to recompute (in seconds) 2. Cheap to store (in bytes) 3. Frequently used 4. Recenty used
其他與 python3-cachey 有關的套件
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-heapdict
- heap with decrease-key and increase-key operations for Python 3