forked from scylladb/gocql
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
murmur: fix hash to match cassandra sign bug (apache#1035)
Cassandra has a bug in the murmur hash which causes it to use signed shifts. Fix this and refactor the code to make it easier to reason about. All the extracted functions are inlined so there is no performance change.
- Loading branch information
Showing
5 changed files
with
138 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.