Fewer than 5 people recommend it so far, so there's no written verdict. Here is what commenters said.

4recommend
1warn against
Jan 5, 2026first mention
Jun 26, 2026latest mention
Nov 25 – Oct 26
Used forhash table implementationruntime and debug checkstest target for analyzersorted and hashed containersc++ utility library

Why people recommend it

“which I thought is a neat trick”

“Abseil has the convention where instead of assert(), users call”

Show 1 more

“b-tree maps hold multiple values per node, which makes them more cache-friendly than the red-black trees used in std::map”

Caveats and dissent

“without living in the world of abseil”

All comments 9

“Abseil Swiss Tables carefully avoids intermediate allocations/copy constructor calls.”

“which I thought is a neat trick”

“Abseil has the convention where instead of assert(), users call”

“without living in the world of abseil”

“Yes, so it is with Abseil. The default rust hash functions, siphash in the standard library and foldhash in hashbrown, are ~3X as slow”

> HashMap implements Extend, so just h0.extend(h1) and you're done, the people who made your HashMap type are much better equipped to optimize this common operation. Are you sure? I'm not very used to reading Rust stdlib, but this seems to be the implementation of the default HashMap extend [1]. It just calls self.base.extend. self.base seems to be hashbrown::hash_map, and this is the source for it's extend [2]. In o

“b-tree maps hold multiple values per node, which makes them more cache-friendly than the red-black trees used in std::map”

Is this similar? https://github.com/amantinband/error-or What's some of the "preprocessor magic" that makes this[1] more ergonomic to use? [1]: https://github.com/abseil/abseil-cpp/blob/master/absl/status/statusor.h

Threads where it came up

Data: abseil.json. Quotes are verbatim; the verdict and theme labels are written by a model from these comments, and every clause links to its sources.

Keyboard shortcuts
j / kNext / previous item
o or EnterOpen selected item
/Search
g hHome
g tTop
g rRising
g cCategories
tToggle dark mode
?This help