Description:
- Caching based on computation time and storage space.
Resources:
- [GitHub] https://github.com/dask/cachey
Example 1
Section titled “Example 1”Create a simple cache
from cachey import Cache
c = Cache(1e9, 1) # 1 GB, cut off anything with cost 1 or lessc.put('x', 'some value', cost=3)c.put('y', 'other value', cost=2)c.get('x')ganymede is made by Eugo