dotnet/runtime
View on GitHubSystem.Reflection.Metadata: Avoid allocations in custom attribute parser
Open
#16,724 opened on Mar 16, 2016
area-System.Reflection.Metadataenhancementhelp wantedtenet-performance
Repository metrics
- Stars
- (17,886 stars)
- PR merge metrics
- (Avg merge 12d 11h) (661 merged PRs in 30d)
Description
The custom attribute parser allocates an ImmutableArray for FixedArguments and NamedArguments.
We should explore options to parse these lazily and avoid the array allocation.