Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libc++] Optimize ranges::move{,_backward} for vector<bool>::iterator #121109

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

winner245
Copy link
Contributor

@winner245 winner245 commented Dec 25, 2024

As a follow-up to #121013 (which optimized ranges::copy) and #121026 (which optimized ranges::copy_backward), this PR enhances the performance of std::ranges::{move, move_backward} for vector<bool>::iterator, addressing a subtask outlined in issue #64038.

The optimizations bring performance improvements analogous to those achieved for the {copy, copy_backward} algorithms: up to x for aligned moves and x for unaligned moves.

@winner245 winner245 force-pushed the optimize-ranges-move branch 3 times, most recently from 544adcf to cd7a802 Compare December 25, 2024 18:17
@winner245 winner245 force-pushed the optimize-ranges-move branch from cd7a802 to 6d84599 Compare January 21, 2025 23:25
@winner245 winner245 force-pushed the optimize-ranges-move branch from 6d84599 to dc159bd Compare January 26, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant