5 releases
Uses old Rust 2015
0.2.0 | Nov 1, 2022 |
---|---|
0.1.5 | Aug 8, 2016 |
0.1.3 | Aug 1, 2016 |
0.1.2 | Jan 17, 2016 |
0.1.1 | Jan 11, 2016 |
#1259 in Data structures
113,354 downloads per month
Used in 28 crates
(5 directly)
39KB
885 lines
range-map
This crate provides maps and sets where the key is a primitive integer type.
Whereas in general-purpose maps and sets performance generally depends on the
number of keys, here it depends on the number of ranges of keys. For example,
in this crate it's very easy to represent the set of all u32
values, but it
would be a bad idea to represent the same set using
std::collections::HashSet<u32>
.
Dependencies
~150KB