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

#1181 in Data structures

Download history 40577/week @ 2024-07-20 30311/week @ 2024-07-27 28952/week @ 2024-08-03 23012/week @ 2024-08-10 25096/week @ 2024-08-17 27945/week @ 2024-08-24 27726/week @ 2024-08-31 23276/week @ 2024-09-07 23774/week @ 2024-09-14 28044/week @ 2024-09-21 23484/week @ 2024-09-28 27427/week @ 2024-10-05 28676/week @ 2024-10-12 31815/week @ 2024-10-19 28255/week @ 2024-10-26 37481/week @ 2024-11-02

131,674 downloads per month
Used in 27 crates (5 directly)

MIT/Apache

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

Documentation

Dependencies

~150KB