Skip to content

refactor: use strings.Builder for string accumulation - #513

Merged
tenthirtyam merged 1 commit into
mainfrom
refactor/string-accumulation
Jun 23, 2026
Merged

refactor: use strings.Builder for string accumulation#513
tenthirtyam merged 1 commit into
mainfrom
refactor/string-accumulation

Conversation

@tenthirtyam

Copy link
Copy Markdown
Collaborator

Summary

Replace repeated string concatenation with strings.Builder to reduce allocations and improve performance.

Type

  • fix: Bug Fix
  • feat: Feature or Enhancement
  • docs: Documentation
  • refactor: Refactoring
  • chore: Build, Dependencies, Workflows, etc.
  • other: Other (Please describe.)

Breaking Changes?

  • Yes, there are breaking changes.
  • No, there are no breaking changes.

Tests

  • Tests have been added or updated.
  • Tests have been completed.

Output:

Documentation

  • Documentation has been added or updated.

Issue References

Release Note

Additional Information

Replace repeated string concatenation with `strings.Builder` to reduce allocations and improve performance.

Signed-off-by: Ryan Johnson <ryan@tenthirtyam.org>
@tenthirtyam tenthirtyam added this to the v2.1.4 milestone Jun 23, 2026
@tenthirtyam tenthirtyam self-assigned this Jun 23, 2026
@tenthirtyam
tenthirtyam requested a review from a team as a code owner June 23, 2026 15:00
@tenthirtyam tenthirtyam added the refactor Refactor label Jun 23, 2026
@github-actions github-actions Bot added needs-review Needs Review size/xs Relative Sizing: Extra-Small labels Jun 23, 2026
@tenthirtyam tenthirtyam removed the needs-review Needs Review label Jun 23, 2026
@tenthirtyam
tenthirtyam merged commit 29ab4ac into main Jun 23, 2026
8 checks passed
@tenthirtyam
tenthirtyam deleted the refactor/string-accumulation branch June 23, 2026 15:15
@github-actions

Copy link
Copy Markdown

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

refactor Refactor size/xs Relative Sizing: Extra-Small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant