dotnet/runtime

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

Ouverte

#16 724 ouverte le 16 mars 2016

 (8 commentaires) (0 réaction) (0 personne assignée)C# (5 445 forks)batch import
area-System.Reflection.Metadataenhancementhelp wantedtenet-performance

Métriques du dépôt

Stars
 (17 886 étoiles)
Métriques de merge PR
 (Merge moyen 12j 11h) (661 PRs mergées en 30 j)

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.

Guide contributeur