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

Try HW assisted crc32c on amd64/arm7 #27

Open
rurban opened this issue Dec 11, 2014 · 0 comments
Open

Try HW assisted crc32c on amd64/arm7 #27

rurban opened this issue Dec 11, 2014 · 0 comments

Comments

@rurban
Copy link

rurban commented Dec 11, 2014

It's the fastest hash, and it's pretty good. Every intel 64 bit CPU should have it, and the new arm's also. See https://github.com/rurban/smhasher#smhasher
You just need to probe for it. Best try the one in -lz at first, and if it's the HW assisted one, not the SW, use that. Otherwise the one at https://github.com/rurban/smhasher/blob/master/crc32_hw.c

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

No branches or pull requests

1 participant