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

Improve ConfigurationPropertyName equals/hashCode performance #44857

Closed
philwebb opened this issue Mar 24, 2025 · 0 comments
Closed

Improve ConfigurationPropertyName equals/hashCode performance #44857

philwebb opened this issue Mar 24, 2025 · 0 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@philwebb
Copy link
Member

Calls to ConfigurationPropertyName equals and hashCode methods are called a lot and performance could be improved by exiting early if the toString() is identical. We can also exit early if the hashCode doesn't match and we can move element hashcode generation into Element so that it can be cached.

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

No branches or pull requests

1 participant