2 releases

0.1.1 May 31, 2024
0.1.0 May 31, 2024

#720 in Data structures

MIT OR Apache-2.0 OR Zlib

15KB
354 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