indexmap-rs / indexmap

A hash table with consistent order and fast iteration; access items by key or sequence index
https://docs.rs/indexmap/
Other
1.71k stars 150 forks source link

Thanks :) #328

Closed JosiahParry closed 5 months ago

JosiahParry commented 5 months ago

Just wanted to say thanks for making this crate! Had that moment where I realized that a BTreeMap's ordering was based on Ord of K and not insertion. This just solved my problem and didn't require me to create a new struct and implement Ord. Thank you for making it so simple!