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

Small aesthetic improvement to the FNV implementation #18

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

brandur
Copy link
Contributor

@brandur brandur commented Jul 2, 2024

An improvement to the FNV implementation that calculates a bitmask using
a power of two minus one instead of hardcoding them.

2^32-1 == 0xffffffff

An improvement to the FNV implementation that calculates a bitmask using
a power of two minus one instead of hardcoding them.

    2^32-1 == 0xffffffff
@brandur brandur force-pushed the brandur-fnv-improvements branch from 2b2a3ed to cd89608 Compare July 2, 2024 02:18
@brandur brandur merged commit 0579a72 into master Jul 2, 2024
4 checks passed
@brandur brandur deleted the brandur-fnv-improvements branch July 2, 2024 02:22
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