Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix StringBuilder capacity #5192

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

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

janbina
Copy link
Contributor

@janbina janbina commented Apr 23, 2024

The capacity of StringBuilder was calculated wrongly leading to unnecessary reallocations.

Copy link
Collaborator

@AlecKazakova AlecKazakova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@JakeWharton JakeWharton enabled auto-merge (squash) April 23, 2024 15:50
@JakeWharton JakeWharton merged commit 2a1249d into sqldelight:master Apr 23, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants