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

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 n8sh:hashmapScalarKeys branch 2 times, most recently from 8343f92 to e512735 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 n8sh:hashmapScalarKeys branch from e512735 to 754bb26 Apr 9, 2019
@wilzbach wilzbach merged commit 418aa12 into vibe-d:master Apr 19, 2019
3 checks passed
3 checks passed
codecov/patch 0% of diff hit (target 35.842%)
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.