#tracking #lru #lru-slab

no-std lru-slab

Pre-allocated storage with constant-time LRU tracking

3 releases

new 0.1.2 Apr 19, 2025
0.1.1 May 31, 2024
0.1.0 May 31, 2024

#961 in Data structures

MIT OR Apache-2.0 OR Zlib

16KB
375 lines

lru-slab

License: Apache 2.0 License: MIT License: Zlib

Pre-allocated storage with constant-time LRU tracking

Useful managing elements in an external cache of fixed-size pages, e.g. an array texture in GPU memory.

License

Licensed under any of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be triple licensed as above, without any additional terms or conditions.

No runtime deps