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

upgrade hash to fnv-1a #18

Open
orthopteroid opened this issue Feb 11, 2022 · 1 comment
Open

upgrade hash to fnv-1a #18

orthopteroid opened this issue Feb 11, 2022 · 1 comment

Comments

@orthopteroid
Copy link
Owner

per https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function#FNV-1a_hash
and https://primes.utm.edu/lists/2small/0bit.html

@orthopteroid
Copy link
Owner Author

The ostensible reason for this is to avoid polluting the processor cache with the crc table.

Perhaps switch to using a crc32 instruction, if available, or fnv-1a if not.

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