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 instead of String concat for startup code #1293

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Jan 16, 2025

Unfortunately the JDK's indyfied String concatenation has a slight performance penalty at startup, so for code we know will always be run at startup, let's not pay that unnecessary price
With this change we force javac to use the StringBuilder strategy

Replaces: #1292

Unfortunately the JDK's indyfied String concatenation
has a slight performance penalty at startup, so for
code we know will always be run at startup, let's not
pay that unnecessary price
With this change we force javac to use the StringBuilder
strategy
@radcortez radcortez merged commit 3830fb8 into smallrye:main Jan 16, 2025
6 checks passed
@github-actions github-actions bot added this to the 3.11.2 milestone Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants