Skip to content

Glossary: System Design Beyond the Basics in Rust

HashMap

Also written: HashSet

Rust's hash-based map type (and `HashSet` for sets). It gives fast lookups but iterates in an unspecified, random order, so its output order shouldn't be relied on.

Where the book teaches it

Related terms

BTreeMap