An open API service indexing awesome lists of open source software.

https://github.com/ralith/lru-slab

Pre-allocated storage with constant-time LRU tracking
https://github.com/ralith/lru-slab

Last synced: 10 months ago
JSON representation

Pre-allocated storage with constant-time LRU tracking

Awesome Lists containing this project

README

          

# lru-slab

[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE-APACHE)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE-MIT)
[![License: Zlib](https://img.shields.io/badge/License-Zlib-blue.svg)](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

* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
* Zlib license ([LICENSE-ZLIB](LICENSE-ZLIB) or
https://opensource.org/licenses/Zlib)

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.