Skip to content

Use FnvHashMap instead of HashMap in rustc #18821

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

Merged
merged 1 commit into from
Nov 11, 2014
Merged

Conversation

arielb1
Copy link
Contributor

@arielb1 arielb1 commented Nov 9, 2014

This should improve performance

@eddyb
Copy link
Member

eddyb commented Nov 10, 2014

And determinism, thanks!

@huonw
Copy link
Member

huonw commented Nov 10, 2014

Would it be possible to measure compiling e.g. librustc before and after this change? (Changes like this can occasionally cause slowdowns, e.g. a lower quality hash can result in more collisions. I find it unlikely that this will be the case, but it would be nice to confirm.)

@ghost
Copy link

ghost commented Nov 10, 2014

It'd be nice to test #17872 and #15034 with this change. I assume they can both be considered fixed.

@ghost
Copy link

ghost commented Nov 10, 2014

@arielb1 Great PR! :-)

bors added a commit that referenced this pull request Nov 11, 2014
@bors bors closed this Nov 11, 2014
@bors bors merged commit 85f1262 into rust-lang:master Nov 11, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Jan 7, 2025
feat: Support the new `CoercePointee` derive
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.

4 participants