-
Notifications
You must be signed in to change notification settings - Fork 10
perf: use $hashCode in equals() #467
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
Conversation
Signed-off-by: Anthony Petrov <[email protected]>
JUnit Test Report 68 files ±0 68 suites ±0 3m 14s ⏱️ +23s Results for commit 38a70c9. ± Comparison against base commit 4c3935e. This pull request removes 8 and adds 7 tests. Note that renamed tests count towards both.
|
Integration Test Report 393 files ±0 393 suites ±0 13m 27s ⏱️ - 1m 12s Results for commit 38a70c9. ± Comparison against base commit 4c3935e. This pull request removes 3 and adds 3 tests. Note that renamed tests count towards both.
|
Description:
Optimize generated models
equals()
method by checking the precomputed$hashCode
before comparing all the fields individually.Related issue(s):
Fixes #233
Notes for reviewer:
All test should pass.
Checklist