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
- Host: GitHub
- URL: https://github.com/ralith/lru-slab
- Owner: Ralith
- License: apache-2.0
- Created: 2024-05-31T03:13:04.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-31T08:12:18.000Z (about 2 years ago)
- Last Synced: 2025-01-12T01:41:30.204Z (over 1 year ago)
- Language: Rust
- Size: 26.4 KB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# lru-slab
[](LICENSE-APACHE)
[](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
* 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.