dotnet / dotnet/aspnetcore

[Perf] Remove extra array allocation when using request filters with request delegate

Open
#46,046 1 comment 0 reactions 0 assignees View on GitHub
area-minimal
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

Follow up to https://github.com/dotnet/aspnetcore/pull/46020

DefaultEndpointFilterInvocationContext requires a collection be allocated. Ideally, the code to build the pipeline moves to RequestDelegateFactory - https://github.com/dotnet/aspnetcore/issues/46024 - and we can reuse a generated context.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.