map_vec
The Map API backed by a Vec
map_vec::Map
is a data structure with the interface of std::collections::HashMap
.
It's primarily useful when you care about constant factors or prefer determinism to speed.
Please refer to the docs for HashMap
for details and examples of the Map API, as supported by map_vec::Map
.
Example