-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: replace DefaultHash with AHasher (#928)
## Related Issues Closes #921 ## Detailed Changes Replace the hash algorithm from `DefaultHasher` to `ahash` for better performance in partition lock. ## Test Plan Time cost to compute hash on a 10-char string: - DefaultHash: 10: 33.6364 ns - ahash: 10: 19.0412 ns - murmur3: 10: 33.0394 ns
- Loading branch information
1 parent
d90a94d
commit 8fe556c
Showing
4 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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