13 releases
0.1.12 | Sep 8, 2023 |
---|---|
0.1.11 | Mar 14, 2023 |
0.1.10 | Jan 30, 2021 |
0.1.9 | Dec 21, 2020 |
0.1.4 | Sep 11, 2016 |
#105 in Caching
955 downloads per month
22KB
525 lines
rust-clockpro-cache
CLOCK-Pro cache replacement algorithm for Rust
Based on a Python implementation by Sami Lehtinen and a Go implementation by Damian Gryski.
Original paper: CLOCK-Pro: An Effective Improvement of the CLOCK Replacement.
lib.rs
:
This is an implementation of the CLOCK-Pro cache algorithm.
CLOCK-Pro keeps track of recently referenced and recently evicted cache entries, which allows it to avoid the evictions that weak access patterns such as scan and loop typically induce in LRU and CLOCK.
Dependencies
~120KB