Skip to content

Conversation

@jscarle
Copy link
Owner

@jscarle jscarle commented Nov 16, 2025

Summary

  • precompute and cache all generated attribute source texts so post initialization no longer rebuilds strings
  • add a reusable StringBuilder pool and use it throughout the generator for large source files, map group identifiers, and string literal emission

Testing

  • dotnet test

Codex Task

@jscarle jscarle merged commit 1363b94 into feature/expansion Nov 16, 2025
@jscarle jscarle deleted the feature/codex-optimize-source-generator-performance branch November 16, 2025 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants