dotnet/runtime

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

Open

#16,724 opened on 2016年3月16日

GitHub で見る
 (8 comments) (0 reactions) (0 assignees)C# (5,445 forks)batch import
area-System.Reflection.Metadataenhancementhelp wantedtenet-performance

Repository metrics

Stars
 (17,886 stars)
PR merge metrics
 (平均マージ 12d 11h) (30d で 661 merged PRs)

説明

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

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

コントリビューターガイド