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

#250 in Rust patterns

Download history 728/week @ 2022-08-17 1261/week @ 2022-08-24 1164/week @ 2022-08-31 718/week @ 2022-09-07 817/week @ 2022-09-14 1117/week @ 2022-09-21 655/week @ 2022-09-28 602/week @ 2022-10-05 625/week @ 2022-10-12 826/week @ 2022-10-19 1173/week @ 2022-10-26 1180/week @ 2022-11-02 819/week @ 2022-11-09 1037/week @ 2022-11-16 986/week @ 2022-11-23 912/week @ 2022-11-30

3,923 downloads per month
Used in 20 crates (4 directly)

MIT/Apache

38KB
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