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

tuple-hash-fix #102

Merged
merged 2 commits into from
Dec 19, 2023
Merged

tuple-hash-fix #102

merged 2 commits into from
Dec 19, 2023

Conversation

martinus
Copy link
Owner

Usiing has_unique_object_representations is not allowed, as it is also true for std::string_view. So I've now switched to std::is_integral_type.

Also, changed the implementation to be very similar to what Abseil is doing. Benchmarks have shown that this is much faster.

@martinus martinus force-pushed the 2023-12-tuple-hash-fix branch 3 times, most recently from 9ef728e to 2ac87c7 Compare December 19, 2023 15:45
Hashing is now similar to abseil, which is essentially doing the same.
@martinus martinus merged commit 92a803a into main Dec 19, 2023
8 checks passed
@martinus martinus deleted the 2023-12-tuple-hash-fix branch December 19, 2023 15:52
@martinus martinus self-assigned this Dec 19, 2023
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.

None yet

1 participant