5 releases
Uses old Rust 2015
0.5.4 | Apr 27, 2023 |
---|---|
0.5.3 | Oct 30, 2018 |
0.5.2 | Oct 29, 2018 |
0.5.1 | Oct 29, 2018 |
0.5.0 | Oct 28, 2018 |
#2107 in Data structures
49 downloads per month
Used in 2 crates
350KB
6K
SLoC
thincollections
Alternative implementations for vector, map and set that are faster/smaller for some use cases. The benchmarks are now outdated. Rust's hashbrown map implementation is faster than the original Rust hashmap, but ThinMap can still be faster for some operations.
Old: 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*.