Easton Man's Channel
13 hours ago
Daniel Lemire's blog
How fast is C++23’s std::flat_map?
source
Daniel Lemire's blog
How fast is C++23’s std::flat_map?
C++23 added a new type to the standard library: std::flat_map. There is also a std::flat_set and other variants, but let me focus on std::flat_map. A flat map is a sorted vector of keys next to a vector of values. A query is a binary search over the sorted…
Home
Powered by
BroadcastChannel
&
Sepia