Skip to content

Conversation

@dmitriy-sobolev
Copy link
Contributor

Adding shift_left and shif_right parallel range algorithms into oneDPL specification.

@akukanov akukanov changed the title [oneDPL] Add shift_left and shift_right [oneDPL][ranges] Add shift_left and shift_right Oct 1, 2025
@akukanov
Copy link
Contributor

The signatures are good.

However, it looks like the split of mutating algorithms to just "copying" and "in-place" becomes less convenient as we add more algorithms to the list, in particular because pairs of "equivalent" in-place and copy operations become separate.

As the first step towards reworking it, I suggest combining shift and rotate algorithms - both copying and in-place - into a new "Sequence reordering" group. We can later move reverse algorithms there as well.

Copy link
Contributor

@danhoeflinger danhoeflinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@akukanov akukanov merged commit 7de8761 into uxlfoundation:main Oct 27, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants