Skip to content

Synchronize WeakHashSet with scalac #3218

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
Oct 3, 2017

Conversation

smarter
Copy link
Member

@smarter smarter commented Sep 30, 2017

Mostly cosmetic changes except for
5d071229baf7294b03d6d50c7685c934ef54a191 by Jason Zaugg:

  Avoid BoxesRuntime.equals in Type.unique

  Like using AnyRefMap, we can optimize this datastructure with the knowledge
  that is only holds AnyRef-s, and we can bypass BoxesRuntime for equality/hashing.

Mostly cosmetic changes except for
5d071229baf7294b03d6d50c7685c934ef54a191 by Jason Zaugg:
  Avoid BoxesRuntime.equals in Type.unique

  Like using AnyRefMap, we can optimize this datastructure with the knowledge
  that is only holds AnyRef-s, and we can bypass BoxesRuntime for equality/hashing.
@allanrenucci allanrenucci merged commit 54b170e into scala:master Oct 3, 2017
@allanrenucci allanrenucci deleted the faster-WeakHashSet branch December 14, 2017 16:59
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.

2 participants