[libcxx-commits] [libcxx] [libc++] Optimize ranges::copy for random_access_iterator inputs and vector<bool> iterator outputs (PR #120134)
Peng Liu via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jun 26 05:51:28 PDT 2025
winner245 wrote:
@philnik777
> Could we change the title to mention `vector<bool>::iterator`? As-is this sounds like we're optimizing `copy` for any `random_access_iterator` combination, which clearly isn't the case.
Yeah, I've mentioned explicitly in the title that the optimization works specifically for copying from `random_access_iterator` to `vector<bool>::iterator`.
https://github.com/llvm/llvm-project/pull/120134
More information about the libcxx-commits
mailing list