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.
Add this to your Cargo.toml
:
[dependencies]
thincollections = "0.5"
and this to your crate root:
#[macro_use]
extern crate thincollections;
The minimum supported Rust version is 1.28 due to use of allocator api and NonZero*.