Skip to content

Remove unused StringBuilder allocation in IsReservedWord - #198

Merged
hadashiA merged 1 commit into
hadashiA:masterfrom
WizFox:fix/reserved-word-stringbuilder-alloc
Oct 14, 2026
Merged

hadashiA merged 1 commit into
hadashiA:masterfrom
WizFox:fix/reserved-word-stringbuilder-alloc

Conversation

@WizFox

@WizFox WizFox commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

IsReservedWord allocated a StringBuilder and appended to it on every call without ever reading it, adding a heap allocation to every string emit.

IsReservedWord allocated a StringBuilder and appended to it on every
call without ever reading it, adding a heap allocation to every
string emit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hadashiA
hadashiA merged commit 7a9bb92 into hadashiA:master Oct 14, 2026
1 check passed
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