, a BTreeMap-like data-structure library where the keys are RangeBounds!
//www.reddit.com/r/rust/comments/zsws/introducing_rangeboundsmap_a_btreemaplike/
It's meant to be an intuitive and fairly-performant data-structure for storing range-like things. I tried as much as possible to stick to standard rust naming conventions and standard library types such as std::ops::RangeBounds. I was partly inspired by rangemap, in fact one of the main ambitions of the project was to be a more generic superset of rangemap. I also spent a long time writing the documentation and code examples for every method and item in the crate, probably more time than actually writing code, so enjoy ?. Here is a small example using RangeBoundsMap: rust let mut map = RangeBoundsMap::new(); // 0 1 2 3 4 5 6 7 8 9 10 // ?---------○ ?-----○ map.insert_platonic(0..5, true);
--
FROM 117.147.20.*