-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Remove some allocations related to logging configuration #50055
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
davidfowl
commented
Mar 22, 2021
- Today we allocate enumerators when enumerating custom attributes, this changes a for loop into a foreach and removes the inner foreach loop.

- Today we allocate enumerators when enumerating custom attributes, this changes a for loop into a foreach and removes the inner foreach loop.
|
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
|
Tagging subscribers to this area: @maryamariyan |
|
If happy for it to throw if more that one defined; assuming I can resolve the merge conflicts... This would reduce it to a single allocation for the attribute? #45121 |
src/libraries/Common/src/Extensions/ProviderAliasUtilities/ProviderAliasUtilities.cs
Outdated
Show resolved
Hide resolved
|
Hello @maryamariyan! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
src/libraries/Microsoft.Extensions.Logging/src/LoggerFilterOptions.cs
Outdated
Show resolved
Hide resolved
…ions.cs Co-authored-by: Jonas Nyrup <[email protected]>