#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

#8 in #data-structure

Download history 241/week @ 2024-11-05

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.1–7MB
~51K SLoC