Crates.io | elaru |
lib.rs | elaru |
version | 0.2.1 |
source | src |
created_at | 2020-12-08 14:09:14.762101 |
updated_at | 2020-12-27 14:33:28.802273 |
description | Memory safe implementation of LRU cache. |
homepage | https://github.com/wusyong/elaru |
repository | https://github.com/wusyong/elaru |
max_upload_size | |
id | 320826 |
size | 24,638 |
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.