#cache #trie #binary-encoding #hat-trie

yanked hat-trie-cache

A high-performance HAT-trie implementation with integrated quick-cache support for concurrent operations and binary encoding capabilities

2 releases

0.1.1 Nov 6, 2024
0.1.0 Nov 6, 2024

#7 in #data-structure

Download history 202/week @ 2024-11-01 39/week @ 2024-11-08

241 downloads per month

MIT/Apache

7KB

hat-trie-cache

A Rust implementation of a HAT-trie based cache.

Usage

Add this to your Cargo.toml:

[dependencies]
hat-trie-cache = "0.1"

Example

let result = hat_trie_cache::add(40, 2);
assert_eq!(result, 42);

For more examples, see the examples directory.

Running Examples

cargo run --example basic

Dependencies

~2–7MB
~50K SLoC