Skip to content

Conversation

@davidfowl
Copy link
Member

  • Today we allocate enumerators when enumerating custom attributes, this changes a for loop into a foreach and removes the inner foreach loop.

image

- Today we allocate enumerators when enumerating custom attributes, this changes a for loop into a foreach and removes the inner foreach loop.
@ghost
Copy link

ghost commented Mar 22, 2021

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.

@ghost
Copy link

ghost commented Mar 22, 2021

Tagging subscribers to this area: @maryamariyan
See info in area-owners.md if you want to be subscribed.

Issue Details
  • Today we allocate enumerators when enumerating custom attributes, this changes a for loop into a foreach and removes the inner foreach loop.

image

Author: davidfowl
Assignees: -
Labels:

area-Extensions-Logging

Milestone: -

@benaadams
Copy link
Member

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

@ghost
Copy link

ghost commented Mar 22, 2021

Hello @maryamariyan!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

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 (@msftbot) and give me an instruction to get started! Learn more here.

@stephentoub stephentoub merged commit c86c1ec into main Mar 23, 2021
@stephentoub stephentoub deleted the davidfowl/remove-logging-allocations branch March 23, 2021 02:29
@davidfowl davidfowl added this to the 6.0.0 milestone Apr 2, 2021
@ghost ghost locked as resolved and limited conversation to collaborators May 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants