Skip to content

Use FnvHashMap in more places #35909

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 1 commit into from
Closed

Use FnvHashMap in more places #35909

wants to merge 1 commit into from

Conversation

jonas-schievink
Copy link
Contributor

  • A step towards Bit-for-bit deterministic / reproducible builds #34902 (see my comments there)
  • More stable error messages in some places related to crate loading
  • Possible slight performance improvements since all HashMaps
    replaced had small keys where FnvHashMap should be faster
    (although I didn't measure)

(likewise for HashSet -> FnvHashSet)

* A step towards #34902
* More stable error messages in some places related to crate loading
* Possible slight performance improvements since all `HashMap`s
  replaced had small keys where `FnvHashMap` should be faster
  (although I didn't measure)
@rust-highfive
Copy link
Contributor

r? @eddyb

(rust_highfive has picked a reviewer for you, use r? to override)

@eddyb
Copy link
Member

eddyb commented Aug 22, 2016

@bors r+

@bors
Copy link
Collaborator

bors commented Aug 22, 2016

📌 Commit c95236f has been approved by eddyb

eddyb added a commit to eddyb/rust that referenced this pull request Aug 23, 2016
Use `FnvHashMap` in more places

* A step towards rust-lang#34902 (see my comments there)
* More stable error messages in some places related to crate loading
* Possible slight performance improvements since all `HashMap`s
  replaced had small keys where `FnvHashMap` should be faster
  (although I didn't measure)

(likewise for `HashSet` -> `FnvHashSet`)
@jonas-schievink
Copy link
Contributor Author

Closing. I'll put this in a bigger PR. The queue times are insane...

@jonas-schievink jonas-schievink deleted the more-fnv branch September 26, 2016 01:49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants