News for hackers. Stuff that matters.
Re:In Defense of Linked Lists by usefulcat on Saturday November 05, 2022 @04:31AM (#33479232)
I believe that flat_map and flat_set at least are sorted, so that binary_search/lower_bound can be used for lookups.

Linear search generally does outperform for small collections though (it’s better for caches and the branch predictor).

There are no comments on this comment yet.