Skip to content

Optimize ConfigurationPropertyName.buildToString() #16658

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,

though minor this PR optimizes calls to StringBuilder.append with a single character in ConfigurationPropertyName.buildToString(). In the example provided in #16401 this is called 33k times at least and every little helps.

Cheers,
Christoph

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 25, 2019
@wilkinsona
Copy link
Member

It does indeed. Thanks for the PR.

@wilkinsona wilkinsona added theme: performance Issues related to general performance type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 25, 2019
@wilkinsona wilkinsona modified the milestones: 2.2.x, 2.2.0.M3 Apr 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: performance Issues related to general performance type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants