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

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

#978 in Data structures

Download history 20/week @ 2024-07-30 12/week @ 2024-09-24 2/week @ 2024-10-01

226 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

~155KB