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

implement reference equality for scala #153

Merged
merged 3 commits into from
Nov 21, 2020

Conversation

jtjeferreira
Copy link
Contributor

@jtjeferreira jtjeferreira commented Nov 19, 2020

improve runtime performance of equals method by testing for reference equality first.

@jtjeferreira
Copy link
Contributor Author

need to fix this for scala 2.12...

@jtjeferreira
Copy link
Contributor Author

Ready for review

Copy link
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall LGTM
Could you update the docs - https://github.com/sbt/contraband/blob/master/docs/02-code-generation.md, and also the description of this PR stating the motivation for this change (runtime perf I assume?)

@eed3si9n eed3si9n merged commit 9bd5a80 into sbt:master Nov 21, 2020
@jtjeferreira
Copy link
Contributor Author

@eed3si9n can you do a release so we get this change in sbt?

@eed3si9n
Copy link
Member

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