indexmap
indexmap copied to clipboard
A hash table with consistent order and fast iteration; access items by key or sequence index
I think it would be nice to show some benchmark results for people looking for the best hash table for their project. With benchmarks like `remove` we have to clone...
serde_seq says: >The default `serde` implementation serializes `IndexMap` as a normal map, > but there is no guarantee that serialization formats will preserve the order > of the key-value pairs....
`get_many_mut` and similar methods are very useful in `hashbrown`. Those can be implemented for `indexmap`. https://docs.rs/hashbrown/latest/hashbrown/struct.HashMap.html#method.get_many_mut
Adding a new constructor to IndexMap and IndexSet respectively: `just` accepting a single element. # Rationale The `indexset!` macro is great, but I did not know about it until just...