[all-commits] [llvm/llvm-project] edc3dc: [libc++] Optimize ranges::copy_backward for vector...
Peng Liu via All-commits
all-commits at lists.llvm.org
Thu Jan 30 11:55:28 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: edc3dc6abd9dec70f03107d1477a2baffe7208f7
https://github.com/llvm/llvm-project/commit/edc3dc6abd9dec70f03107d1477a2baffe7208f7
Author: Peng Liu <winner245 at hotmail.com>
Date: 2025-01-30 (Thu, 30 Jan 2025)
Changed paths:
M libcxx/docs/ReleaseNotes/21.rst
M libcxx/include/__algorithm/copy_backward.h
M libcxx/include/__bit_reference
M libcxx/include/__vector/vector_bool.h
M libcxx/include/bitset
A libcxx/test/benchmarks/algorithms/copy_backward.bench.cpp
M libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp
M libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy_backward.pass.cpp
Log Message:
-----------
[libc++] Optimize ranges::copy_backward for vector<bool>::iterator (#121026)
As a follow-up to #121013 (which focused on `std::ranges::copy`), this
PR optimizes the performance of `std::ranges::copy_backward` for
`vector<bool>::iterator`, addressing a subtask outlined in issue #64038.
The optimizations yield performance improvements of up to 2000x for
aligned copies and 60x for unaligned copies.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list