Re:Safety: A comparaison between Rust, C++ and Go
by benreesman on Saturday July 30, 2022 @12:20PM
(#32287977)
TIL. Thanks for letting me know that: https://doc.rust-lang.org/src/std/collections/hash/map.rs.ht...
I don't know how I missed this, is the Swiss port a fairly recent development?
Re:Safety: A comparaison between Rust, C++ and Go
by tialaramex on Saturday July 30, 2022 @01:33PM
(#32288607)
Hashbrown (the Swiss Tables implementation) replaced the previous HashMap implementation in July 2019.
The port is a little older, 2018. The idea was famously explained at CppCon 2017, I don't know whether Google had published on Swiss Tables before that year.
Just to be clear, the Rust HashMap does the same thing.