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

Use StringBuilder.append(char) where possible #27098

Closed
sbrannen opened this issue Jun 25, 2021 · 0 comments
Closed

Use StringBuilder.append(char) where possible #27098

sbrannen opened this issue Jun 25, 2021 · 0 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@sbrannen
Copy link
Member

To slightly improve performance, we should use StringBuilder.append(char) instead of StringBuilder.append(String) whenever we append a single character to the builder.

See also: #25056

@sbrannen sbrannen added the type: enhancement A general enhancement label Jun 25, 2021
@sbrannen sbrannen added this to the 5.3.9 milestone Jun 25, 2021
@sbrannen sbrannen self-assigned this Jun 25, 2021
shakuzen pushed a commit to micrometer-metrics/micrometer that referenced this issue Jun 30, 2021
Zoran0104 pushed a commit to Zoran0104/spring-framework that referenced this issue Aug 20, 2021
To slightly improve performance, this commit switches to
StringBuilder.append(char) instead of StringBuilder.append(String)
whenever we append a single character to a StringBuilder.

Closes spring-projectsgh-27098
lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this issue Mar 26, 2022
To slightly improve performance, this commit switches to
StringBuilder.append(char) instead of StringBuilder.append(String)
whenever we append a single character to a StringBuilder.

Closes spring-projectsgh-27098
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