Found out yesterday that the Hashbrown hashmap library (port of Google SwissTable) is currently being moved into stdlib. There's also work for doing the same with parking_lot. I think it's pretty cool when the easiest thing to use also happens to be the best thing available.
-
-
Ah that makes sense then, was surprised I hadn't seen any mention of it online ^_^ Is... the 4x number for hashbrown or parking_lot? For mutexes it's amazing enough, but for hash tables (which've already seen a lot of optimization work) it sounds nearly impossible.
-
Those numbers are for the mutexes, rwlocks specifically on the std port. Hashbrown was still a WIP. But from the website there's an 8x improvement cap possible https://github.com/Amanieu/hashbrown/blob/master/README.md#performance …. It'll probably be lower initially because the hash algo isn't being switched, but still!
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.