tinylfu-cached 0.0.4

High performance, LFU based in-memory cache.
Documentation
1
2
3
4
5
6
7
8
9
#[macro_export]
macro_rules! hash_map {
    ($($key:expr => $value:expr),+) => {{
        use std::collections::HashMap;
        let mut key_value_pairs = HashMap::new();
        $(key_value_pairs.insert($key, $value);)+
        key_value_pairs
    }};
}