jonhoo / hashbag

An unordered multiset/bag implementation backed by HashMap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crates.io Documentation codecov Dependency status

An unordered multiset/bag implementation backed by HashMap.

A bag, unlike a set, allows duplicate values, and keeps track of how many duplicates each value holds. This type of collection is often referred to as an unordered multiset (see also C++'s std::unordered_multiset).

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

An unordered multiset/bag implementation backed by HashMap

License:Apache License 2.0


Languages

Language:Rust 100.0%