thincollections

Alternate implementations of vector/map/set for Rust

APACHE-2.0 License

Downloads
12.8K
Stars
15
Committers
1

thincollections

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*.