by dabitude · 4y ago · 0 comments
See: https://en.cppreference.com/w/cpp/header/flat_map
Linear search generally does outperform for small collections though (it’s better for caches and the branch predictor).