Skip to content

Conversation

@TimothyMakkison
Copy link
Contributor

Use WellKnownTypes to cache ToDisplayName and GetTypeByMetadataName calls in AttributeWriter

Before

Method Mean Error StdDev Median Gen0 Gen1 Allocated
Compile 225.6 ms 10.50 ms 29.45 ms 210.0 ms 11000.0000 4000.0000 104.79 MB

After

Method Mean Error StdDev Median Gen0 Gen1 Allocated
Compile 201.8 ms 8.24 ms 22.97 ms 191.4 ms 10000.0000 4000.0000 99.34 MB

@claude
Copy link
Contributor

claude bot commented Jan 31, 2026


Code review

No issues found. Checked for bugs and CLAUDE.md compliance.


@thomhurst thomhurst merged commit 0f9609a into thomhurst:main Jan 31, 2026
8 of 10 checks passed
This was referenced Feb 1, 2026
This was referenced Feb 2, 2026
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