
Announcing Rustacean Station and Rust 1.36
Rustacean Station
Hash Brown: A New Implementation of an Existing Hash Map
The standard collections hash map has been completely replaced by a new external crate called hash brown. Hash brown is an adaptation of a hash table implementation from Google, I believe, called Swiss table. SIMD instructions are effectively a way to have your CPU look at many pieces of data simultaneously. This means that if you do lookups, for example, you can check multiple entries, multiple buckets, multiple things in the hash table at the same time. It significantly speeds up things like lookups, removals, basically anything that needs to search.
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.