[libcxx-commits] [libcxx] [libc++] Optimize {std, ranges}::for_each for iterating over __trees (PR #164405)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Dec 16 22:33:37 PST 2025
frederick-vs-ja wrote:
Looks like that we should immediately return when the range is empty.
https://github.com/llvm/llvm-project/blob/f440b5c12df500f86f9407e625d42f92913e8367/libcxx/include/__tree#L1542-L1546
https://github.com/llvm/llvm-project/pull/164405
More information about the libcxx-commits
mailing list