elaru

Crates.ioelaru
lib.rselaru
version0.2.1
sourcesrc
created_at2020-12-08 14:09:14.762101
updated_at2020-12-27 14:33:28.802273
descriptionMemory safe implementation of LRU cache.
homepagehttps://github.com/wusyong/elaru
repositoryhttps://github.com/wusyong/elaru
max_upload_size
id320826
size24,638
Ngo Iok Ui (Wu Yu Wei) (wusyong)

documentation

README

elaru: A simple, fast, and memory safe least-recently-used (LRU) cache.

elaru avoids all unsafe operations while still achieves O(1) performance on insert, get, and remove_lru. fnv feature is also provided for anyone looking for better performance on small key size.

See the documentation for examples and more details.

Acknowledgement: This crate is heavily inspired by uluru, a no_std lru implementation from servo.

Commit count: 6

cargo fmt