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

Provide high quality & fast hash implementations for std::tuple and std::pair #101

Merged
merged 2 commits into from
Dec 18, 2023

Conversation

martinus
Copy link
Owner

Instead of sequentially hashing one element after the other, this puts all data into a temporary std::array and hashes this buffer. The compiler can see through all of that and produce highly optimized code.

@martinus martinus merged commit 6f94f87 into main Dec 18, 2023
8 checks passed
@martinus martinus deleted the 2023-12-tuple-hash branch December 18, 2023 06:16
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