theine icon indicating copy to clipboard operation
theine copied to clipboard

high performance in-memory cache

Results 5 theine issues
Sort by recently updated
recently updated
newest added

1. Unlimited sized Cache ```py @Memoize(Cache("unlimited"), timedelta(seconds=10 * 60)) def get(): ... ``` 2. Zero sized Cache (ignore returned value) ```py @Memoize(Cache("empty"), timedelta(seconds=10 * 60)) def update_global_dict(): value = query(..)...

Already done in Go: https://github.com/Yiling-J/theine-go#cache-persistence Because Theine Python is combination of Rust & CPython, it would be a little difficult to implement. But if you really need this feature, please...

enhancement

https://github.com/ben-manes/caffeine/wiki/Eviction#size-based

enhancement

* Add strict typings for `theine` lib * Deprecate python3.17, add python3.12 tests

Given the architecture of Thine, where the policy logic is implemented in Rust and the key/value map resides in Python, enabling free-threaded support for the Python part should be feasible...