thincollections
thincollections copied to clipboard
Alternate implementations of vector/map/set for Rust
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*.