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

Rename SegString.hash() to SegString.siphash() #1556

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

ronawho
Copy link
Contributor

@ronawho ronawho commented Jul 5, 2022

hash() is currently a special method in Chapel and we recently added
some extra checking upstream that disallows using the name without the
override keyword. We haven't settled on the name hash() yet and are
considering special methods with names more unique as to not interfere
with user names, but until that's settled I think it's easiest to just
give the segmented string hash a different name to stay compatible.

Resolves #1555

`hash()` is currently a special method in Chapel and we recently added
some extra checking upstream that disallows using the name without the
`override` keyword. We haven't settled on the name `hash()` yet and are
considering special methods with names more unique as to not interfere
with user names, but until that's settled I think it's easiest to just
give the segmented string hash a different name to stay compatible.

Resolves 1555
Copy link
Contributor

@Ethan-DeBandi99 Ethan-DeBandi99 left a comment

Choose a reason for hiding this comment

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

Looks good

@Ethan-DeBandi99 Ethan-DeBandi99 merged commit bc193ae into Bears-R-Us:master Jul 6, 2022
@ronawho ronawho deleted the rename-hash branch July 6, 2022 14:14
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.

Fix Arkouda compatibility with Chapel main
4 participants