diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-02 21:39:21 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-02 21:39:21 +0300 |
| commit | 9d258ee5ebe2773b477d553b62c0c67650a5a5cf (patch) | |
| tree | e8304fd1de54de69678a62345ec4fc4cd85cfb3d /internal/processor/processor.go | |
| parent | 11a3e62f17433a7df0e6a77a688321d94a736778 (diff) | |
task 005: use strings.Builder for string concatenation in loops
Replace per-rune += string(r) heap allocations with strings.Builder in
SanitizeFilename (internal/utils.go) and splitLines (internal/batch/processor.go).
Both now call Grow/Reset appropriately to pre-allocate capacity.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/processor/processor.go')
0 files changed, 0 insertions, 0 deletions
