[libcxx-commits] [libcxx] [libc++] Optimize ranges::copy for random_accsess_iterator and segmented_iterator (PR #120134)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 18 10:13:05 PDT 2025


================
@@ -76,6 +90,30 @@ int main(int argc, char** argv) {
 #endif
   }
 
+  // {std,ranges}::copy(random_access_iterator, random_access_iterator, vector<bool>)
----------------
ldionne wrote:

I don't think this benchmark is necessary, since the benchmark above already covers it (`std::vector<int>` is random access).

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


More information about the libcxx-commits mailing list