Skip to content
New issue

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

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

Already on GitHub? # to your account

Implement actualize for alt_var_length_view #5087

Merged
merged 3 commits into from
Jun 14, 2024
Merged

Conversation

lums658
Copy link
Contributor

@lums658 lums658 commented Jun 14, 2024

This PR implements a function actualize that

  • orders the underlying data of an alt_var_length_view according to the permuted subranges
  • sets the subranges in the alt_var_length_view to delimit the new var-length element
  • stores the size of each subrange in an index argument

After calling actualize, the alt_var_length_view will "look" exactly the same, i.e., iterating through it before and after will give exactly the same results (even though the underlying data range has been reordered).

Actually ordered (instead of virtually ordered) var-length data, along with an array of the corresponding sizes, will be needed for saving phase I data to a temporary array.

[sc-49496]


TYPE: FEATURE
DESC: Implement actualize function that orders data underlying alt_var_length_view

@KiterLuc KiterLuc merged commit 93220d7 into dev Jun 14, 2024
62 checks passed
@KiterLuc KiterLuc deleted the lums/sc-49496/actualize branch June 14, 2024 12:52
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants