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

vec-btree-map

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

7 releases (breaking)

0.7.0 Nov 24, 2024
0.6.0 Mar 28, 2024
0.5.0 Dec 30, 2023
0.4.0 Dec 9, 2023
0.1.0 Dec 8, 2023

#720 in Data structures

Download history 11/week @ 2024-09-22 3/week @ 2024-09-29 134/week @ 2024-11-24 16/week @ 2024-12-01

150 downloads per month

MIT license

27KB
581 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. 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

~160KB