-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathllms.txt
More file actions
15 lines (10 loc) · 1.07 KB
/
llms.txt
File metadata and controls
15 lines (10 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# warp_cache
> warp_cache is a thread-safe Python caching decorator backed by a Rust extension (PyO3). It uses SIEVE eviction (scan-resistant, near-optimal hit rates), with TTL support, async awareness, and a cross-process shared memory backend. It is a drop-in replacement for `functools.lru_cache` with added thread safety and features.
## Docs
- [Usage guide](https://github.com/tolo/warp_cache/blob/main/docs/usage.md): SIEVE eviction, async, TTL, shared memory, decorator parameters
- [Performance](https://github.com/tolo/warp_cache/blob/main/docs/performance.md): Benchmarks and architecture deep-dive
- [Alternatives](https://github.com/tolo/warp_cache/blob/main/docs/alternatives.md): Comparison with cachebox, moka-py, cachetools, lru_cache
- [Development](https://github.com/tolo/warp_cache/blob/main/docs/development.md): Building from source, running tests
## Optional
- [Examples](https://github.com/tolo/warp_cache/tree/main/examples): Runnable examples for every feature
- [Contributing](https://github.com/tolo/warp_cache/blob/main/CONTRIBUTING.md): Contributing guidelines