Skip to content

Calculate hashCode only once in ConfigurationPropertyName #21394

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

dreis2211
Copy link
Contributor

Hi,

I just noticed that the new hashCode logic in ConfigurationPropertyName doesn't set the new hashCode field. Seems to be an oversight that might lead to performance issues, (although I haven't benchmarked anything).

Cheers,
Christoph

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 11, 2020
@mbhave mbhave added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels May 11, 2020
@mbhave mbhave added this to the 2.3.0 milestone May 11, 2020
@philwebb
Copy link
Member

Nice spot. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants