On first read, it seems all users do not rely on pointer stability. Value is 16 bytes (see the static assert under its definition), so if the container is more than half full, it will use fewer overall bytes. Since these containers typically float between 0.4375 and 0.875 (per the documentation), this seems like a clear win.
- is related to
-
SERVER-90439 Track graphLookup frontier slot array memory
- Closed
- related to
-
SERVER-88593 Investigate using absl::flat_hash_set/map over stdx::unordered_set/map in hot paths
- Closed