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

C++ refactoring: Implementing _localindex. #1059

Merged
merged 26 commits into from
Aug 23, 2021
Merged

Conversation

findingmochi
Copy link
Collaborator

@findingmochi findingmochi commented Aug 12, 2021

This PR implements the _localindex function for all the Awkward Array types except VirtualArray.

  • _localindex implementation
  • BitMaskedArray
  • ByteMaskedArray
  • EmptyArray
  • IndexedArray
  • IndexedOptionArray
  • ListArray
  • ListOffsetArray
  • NumpyArray
  • RecordArray
  • RegularArray
  • UnionArray
  • UnmaskedArray
  • _localindex tests
  • BitMaskedArray
  • ByteMaskedArray
  • EmptyArray
  • IndexedArray
  • IndexedOptionArray
  • ListArray
  • ListOffsetArray
  • NumpyArray
  • RecordArray
  • RegularArray
  • UnionArray
  • UnmaskedArray

@findingmochi findingmochi self-assigned this Aug 12, 2021
@findingmochi findingmochi marked this pull request as ready for review August 21, 2021 12:23
Copy link
Member

@jpivarski jpivarski left a comment

Choose a reason for hiding this comment

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

Great! I just made some minor tweaks. (We talked on Slack.)

This dovetails well with #1036, which defines compact_offsets64 on RegularArray only; this PR defines it on ListArray and ListOffsetArray. This (and broadcast_tooffsets64) will be hidden with underscores.

Unless you have any last commits, I'll merge it after the tests pass. Thanks!

@findingmochi
Copy link
Collaborator Author

Yup, you can merge it, I don't have any other additions. Thanks for the review!

@jpivarski jpivarski merged commit b8c3187 into main Aug 23, 2021
@jpivarski jpivarski deleted the stormiestsin/refactoring branch August 23, 2021 17:56
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.

2 participants