Registry / utility / schnellru

schnellru

JSON →
library0.2.4rscratesunverified

A fast and flexible LRU map implementation.

# Cargo.toml [dependencies] schnellru = "0.2.4"
INSTALL
IMPORT
SIG · SCHNELLRU
S
schnellru
utilityrustv0.2.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LruMap
use schnellru::LruMap;

Creates an LRU map with capacity 100 and inserts a key-value pair.

use schnellru::LruMap; fn main() { let mut map: LruMap<String, i32> = LruMap::new(100); map.insert("key".to_string(), 42); println!("Value: {:?}", map.get("key")); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
schnellru — cargo add schnellru · libregistry