dotnet/runtime

System.Reflection.Metadata: Avoid allocations in custom attribute parser

Open

#16.724 aperta il 16 mar 2016

Vedi su GitHub
 (8 commenti) (0 reazioni) (0 assegnatari)C# (5445 fork)batch import
area-System.Reflection.Metadataenhancementhelp wantedtenet-performance

Metriche repository

Star
 (17.886 star)
Metriche merge PR
 (Merge medio 12g 11h) (661 PR mergiate in 30 g)

Descrizione

The custom attribute parser allocates an ImmutableArray for FixedArguments and NamedArguments.

We should explore options to parse these lazily and avoid the array allocation.

Guida contributor