dotnet/runtime

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

Offen

#16.724 geöffnet am 16.03.2016

 (8 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (5.445 Forks)batch import
area-System.Reflection.Metadataenhancementhelp wantedtenet-performance

Repository-Metriken

Stars
 (17.886 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 12T 11h) (661 gemergte PRs in 30 T)

Beschreibung

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

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

Contributor Guide