Building a HashMap in Rust – Part 1: What's a HashMap?(cglab.ca)
cglab.ca
Building a HashMap in Rust – Part 1: What's a HashMap?
http://cglab.ca/~abeinges/blah/robinhood-part-1/
3 comments
To be fair: a lot of other people are doing this sort of work too, e.g. cgaebel implemented most of the current robin hood hash map and gereeter has been pushing the boundaries of optimisation+safety.
There's also http://doc.rust-lang.org/nightly/std/collections/#when-shoul...? (the ? is part of the URL)
There's also http://doc.rust-lang.org/nightly/std/collections/#when-shoul...? (the ? is part of the URL)
"Oh I'll make this one shorter by breaking it into two parts"
> 3100 words
Fuck.
> 3100 words
Fuck.
With regard to hashmaps specifically, it's my experience that users coming to Rust from dynamic languages reach for this data structure as a matter of habit. One of the challenges of Rust will be in educating new users as to the benefits of alternative data structures. I'd really love some sort of centralized documentation to this end.