[libcxx-commits] [libcxx] [libc++][ranges] Optimize the performance of `ranges::starts_with` (PR #84570)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 27 08:00:29 PDT 2025


ldionne wrote:

Note that I don't think this will actually fix #83880 since `ends_with` uses `starts_with` with reverse iterators, and we don't have an optimization for `equal` on reverse iterators.

https://github.com/llvm/llvm-project/pull/84570


More information about the libcxx-commits mailing list