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

Use unordered_dense hash map #645

Closed
wants to merge 1 commit into from

Conversation

imwints
Copy link
Contributor

@imwints imwints commented Oct 14, 2023

Closes: #614

Note: I added the <utility> header in some places.
When testing this PR against the standard implementation of unordered map some units failed to compile since they relied on transitive includes in <robin_hood.h> and now <unordered_dense.h> header, which is not optimal.

@imwints
Copy link
Contributor Author

imwints commented Jan 2, 2024

@aristocratos

Is this still relevant after the switch to std::unordered?

@aristocratos
Copy link
Owner

aristocratos commented Jan 3, 2024

@imwints

Is this still relevant after the switch to std::unordered?

No, since there's no apparent performance impact since the change (even with the added safeVal() calls), I don't see much point in using a external map library.

@imwints imwints closed this Jan 3, 2024
@imwints imwints deleted the dense-hash-lib branch January 3, 2024 14:59
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.

[REQUEST] Switch to new mainted hash map and set
2 participants