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

hashmap: increase hashing speed with integer or string keys #2291

Merged
merged 1 commit into from Apr 19, 2019

Conversation

n8sh
Copy link
Contributor

@n8sh n8sh commented Apr 8, 2019

TypeInfo.getHash is a virtual function call that is opaque to current D compilers. Directly using object.hashOf is faster.

@n8sh n8sh force-pushed the hashmapScalarKeys branch 2 times, most recently from 8343f92 to e512735 Compare Apr 9, 2019
TypeInfo.getHash is a virtual function call that is opaque to current
D compilers. Directly using object.hashOf is faster.
@wilzbach wilzbach merged commit 418aa12 into vibe-d:master Apr 19, 2019
3 checks passed
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

2 participants