Source Package: python-cachey (0.2.1-3.4)
A Python cache mindful of computation/storage costs
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 It accomplishes this by adding the following to each items score on each access score += compute_time / num_bytes * (1 + eps) ** tick_time For some small value of epsilon (which determines the memory halflife). This has units of inverse bandwidth, has exponential decay of old results and roughly linear amplification of repeated results.
Package information
- Homepage
- [https://github.com/mrocklin/cachey/]
- License
- BSD-3-Clause
- Downstream package maintainer
- Unknown: not reported in the indexed source
The following binary packages are built from this source package:
- python313-cachey
A Python cache mindful of computation/storage costs
- python314-cachey
A Python cache mindful of computation/storage costs
