2022-07-12 15:16:25 +02:00
|
|
|
# Hashmaps
|
|
|
|
A *hash map* allows you to associate a value with a particular key.
|
|
|
|
You may also know this by the names [*unordered map* in C++](https://en.cppreference.com/w/cpp/container/unordered_map),
|
|
|
|
[*dictionary* in Python](https://docs.python.org/3/tutorial/datastructures.html#dictionaries) or an *associative array* in other languages.
|
2020-10-26 08:54:32 +02:00
|
|
|
|
2022-07-12 15:16:25 +02:00
|
|
|
This is the other data structure that we've been talking about before, when
|
|
|
|
talking about Vecs.
|
2020-10-26 08:54:32 +02:00
|
|
|
|
2021-04-23 19:54:31 +02:00
|
|
|
## Further information
|
|
|
|
|
2021-07-06 10:31:27 +02:00
|
|
|
- [Storing Keys with Associated Values in Hash Maps](https://doc.rust-lang.org/book/ch08-03-hash-maps.html)
|