Crates.io | uluru |
lib.rs | uluru |
version | 3.1.0 |
source | src |
created_at | 2017-11-15 14:57:55.198404 |
updated_at | 2024-04-08 03:27:59.429177 |
description | A simple, fast, LRU cache implementation |
homepage | |
repository | https://github.com/servo/uluru |
max_upload_size | |
id | 39441 |
size | 31,733 |
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.