Skip to content

Enhance Kotlin Class Conversion by Minimizing Equals Comparisons #3000

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

Closed
wants to merge 1 commit into from

Conversation

leeyohan93
Copy link
Contributor

@leeyohan93 leeyohan93 commented Dec 12, 2023

List.indexOf() can potentially lead to excessive equals comparisons when converting to Kotlin classes.
I have experienced numerous occurrences related to this issue, and i hope to see the implementation of optimized code to address this concern. 🙏

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 12, 2023
@mp911de mp911de closed this in e0cddb1 Dec 14, 2023
mp911de added a commit that referenced this pull request Dec 14, 2023
Use IdentityHashMap for parameter lookup.

See #3000
mp911de added a commit that referenced this pull request Dec 14, 2023
Use IdentityHashMap for parameter lookup.

See #3000
@mp911de mp911de added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Dec 14, 2023
@mp911de mp911de added this to the 3.2.1 (2023.1.1) milestone Dec 14, 2023
@mp911de
Copy link
Member

mp911de commented Dec 14, 2023

Thank you for your contribution. That's merged, polished, and backported now.

@mp911de mp911de self-assigned this Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants