Repository navigation
Optimize runtime, analyzer, and generator hot paths - #366
Merged
Merged
Conversation
Phase 2 performance improvements: - Cache MethodBase parameter/by-ref metadata and switch ArgumentCollection to a flat array with lazy name dictionary - Remove value-type boxing in Argument<T> validation, make MethodInvocation.Context/SkipBehaviors lazy, and skip empty outputs/out-parameter rebuilds - Cache CompiledStuntFactory constructors and optimize TypeSet, cache DefaultValueProvider async/queryable factories, and streamline DynamicStuntInterceptor - Emit per-member static MethodBase caches in generated stunts and delegate stunts - Delete dead PointerMemberAnalyzer (keep ST005 reserved), make StuntClosure lock-free with cached IsGenerator, cache RefStructHolders reflection, pre-index UnsafeSignatureAnalyzer assembly registrations, remove LINQ closure in SyntaxOnlyProcessorAnalyzer - Use ReplaceSyntaxTree in SyntaxProcessorDriver, parallelize default-interface helpers, index GetOverridableMembers by name, and add LRU eviction + disk mtime refresh to StuntCache Co-authored-by: CodeAlta <noreply@codealta.io>
kzu
enabled auto-merge (rebase)
November 29, 2026 19:40
…structor for Native AOT Co-authored-by: CodeAlta <noreply@codealta.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 2 of the codebase audit improvements: runtime, analyzer, and source generator performance optimizations.
Runtime hot paths
Analyzer & generator hot paths
Verification
This pull request was created by CodeAlta.