A simple, fast, least-recently-used (LRU) cache implementation used for Servo's style system.
LRUCache uses a fixed-capacity array for storage. It provides O(1)
insertion, and O(n) lookup. It does not require an allocator and can be
used in no_std crates. It is implemented in 100% safe Rust.
Overall
Maintained
Code review
crates.io
Latest release
Releases this year
210 followers · starred Mar 2018
229 followers · starred Jul 2020
303 followers · starred May 2024
222 followers · starred Oct 2020
A simple, fast, least-recently-used (LRU) cache implementation used for Servo's style system.
LRUCache uses a fixed-capacity array for storage. It provides O(1)
insertion, and O(n) lookup. It does not require an allocator and can be
used in no_std crates. It is implemented in 100% safe Rust.
Overall
Maintained
Code review
crates.io
Latest release
Releases this year
210 followers · starred Mar 2018
229 followers · starred Jul 2020
303 followers · starred May 2024
222 followers · starred Oct 2020