#hash-map #btree-map #vec #map

vec-btree-map

Basically just a sorted Vec that can be used as a HashMap

6 releases (breaking)

0.6.0 Mar 28, 2024
0.5.0 Dec 30, 2023
0.4.0 Dec 9, 2023
0.3.0 Dec 8, 2023
0.1.0 Dec 8, 2023

#1717 in Data structures

Download history 10/week @ 2024-02-27 120/week @ 2024-03-26 16/week @ 2024-04-02 180/week @ 2024-04-16

180 downloads per month

MIT license

22KB
419 lines

vec-btree-map   Action Badge Version Badge License Badge

Basically just a sorted Vec that can be used as a HashMap.

Why?

This library is meant for building data structures that you iterate over a lot but don't change much. Why not just use a HashMap? Iterating over a HashMap is slow and the iteration order is not guaranteed to be stable.

Contributing

If you find any errors or just want to add a new feature feel free to submit a PR.

Dependencies

~175KB