Cachebox

Latest version: v4.4.1

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

2.2.3

Changed
- Improve code stablity
- Reduce memory usages and allocations.
- Optimize `VTTLCache.__delitem__` method for more speed.
- Improve performance of all caches.

Internal
- Use `hashbrown` instead of standard hashmap.
- Increase `unsafe` blocks in safe situations to optimize performance

2.2.2

Changed
- The behavior of the `__repr__` function has been changed and improved.
- Improve `RRCache` performance.

Internal
- `pyo3` updated and features changed.
- Use `fastrand` instead of `rand`.

2.2.1

Fixed
- Fix `RuntimeError` when you passing a cache implemetation to its own methods.

Internal
- Update Rust dependecies
- Optimize code for threading

2.2.0

Changed
- Change and improve sorting strategy (VTTLCache)

Removed
- Remove deprecated methods (getmaxsize, getttl, and delete)
- Remove dependecies

2.1.1

Added
- New decorator `cachedmethod` for class methods.

Changed
- Now `cached` accept `None` as cache.

Fixed
- Fix some bug

2.0.1

Added
- README.md updated and added new examples
- Stub-file updated and added new examples

Fixed
- README.md mistakes fixed

Internal
- `strip` value changed.
- Use `AHashMap` instead of standard `HashMap`; that's very faster.

Page 5 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.