Skip to content

mohrezaei/thincollections

Repository files navigation

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

About

Alternate implementations of vector/map/set for Rust

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages