[libcxx-commits] [libcxx] [libc++] Fix `ranges::for_each` taking whole associative containers (PR #172605)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Dec 17 09:09:14 PST 2025
https://github.com/philnik777 approved this pull request.
@nico At least in my benchmarking checking the root has been significantly slower, so I don't think that's a good idea. (My guess is that the two branches cause better prediction). The size call is really cheap, since it's just loading a value.
LGTM, thanks!
https://github.com/llvm/llvm-project/pull/172605
More information about the libcxx-commits
mailing list