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

#1172 in Data structures

Download history 29348/week @ 2024-06-19 32445/week @ 2024-06-26 27975/week @ 2024-07-03 32961/week @ 2024-07-10 32671/week @ 2024-07-17 40898/week @ 2024-07-24 24214/week @ 2024-07-31 30066/week @ 2024-08-07 24340/week @ 2024-08-14 25296/week @ 2024-08-21 25648/week @ 2024-08-28 28939/week @ 2024-09-04 21699/week @ 2024-09-11 24370/week @ 2024-09-18 26141/week @ 2024-09-25 22386/week @ 2024-10-02

100,034 downloads per month
Used in 26 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

~155KB