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

#1078 in Data structures

Download history 13455/week @ 2023-12-15 3417/week @ 2023-12-22 9732/week @ 2023-12-29 15454/week @ 2024-01-05 16552/week @ 2024-01-12 24076/week @ 2024-01-19 26280/week @ 2024-01-26 17997/week @ 2024-02-02 28153/week @ 2024-02-09 27260/week @ 2024-02-16 34674/week @ 2024-02-23 33806/week @ 2024-03-01 33680/week @ 2024-03-08 26135/week @ 2024-03-15 35285/week @ 2024-03-22 25258/week @ 2024-03-29

127,081 downloads per month
Used in 23 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