Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 933 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 933 Bytes

thincollections

Latest version Documentation Minimum rustc version

Alternative implementations for vector, map and set that are faster/smaller for some use cases. ThinMap can be 2x to 5x faster than std::collections::HashMap. See the benchmarks.

Usage

Add this to your Cargo.toml:

[dependencies]
thincollections = "0.5"

and this to your crate root:

#[macro_use]
extern crate thincollections;

Rust Version Support

The minimum supported Rust version is 1.28 due to use of allocator api and NonZero*.