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

Revert "std: Cache HashMap keys in TLS" #36565

Closed
wants to merge 1 commit into from

Conversation

sfackler
Copy link
Member

This reverts commit eaeef3d.

This is a short-term workaround to #36481.

r? @aturon

cc @rust-lang/libs

This reverts commit eaeef3d.

This is a short-term workaround to rust-lang#36481.
@sfackler sfackler added the T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. label Sep 18, 2016
@arthurprs
Copy link
Contributor

Would it be safe to increment the seed on every creation?

@bluss
Copy link
Member

bluss commented Sep 19, 2016

Note that HashMaps don't even call reserve in extend (issue #36579). Just fixing that would help some (don't know how much).

@sfackler
Copy link
Member Author

@arthurprs see the discussion in #27243 for the nontrivial implications of doing that.

@alexcrichton
Copy link
Member

As a heads up both Aaron and I are on PTO until next week, but I know I'd personally love to dig into this before merging time permitting. Just wanted to let you know it's not being intentionally ignored or anything!

@sfackler
Copy link
Member Author

Cool, sounds good.

@alexcrichton
Copy link
Member

Discussed in libs triage, our conclusion was to close this for now. We can take the next cycle to explore our options and otherwise resort to this.

@sfackler sfackler deleted the unique-map-keys branch November 26, 2016 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants