Skip to content
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

Merge main to VBOverloadResolutionPriority #75876

Merged
merged 25 commits into from
Nov 12, 2024

Conversation

AlekseyTs
Copy link
Contributor

No description provided.

Youssef1313 and others added 25 commits April 3, 2022 09:19
* Move HasHome out of Binder

* Fixup references

* Add a comment
Upgrade to latest structured logger binaries and see if that addresses the failure to read binary logs.
* Make VBCSCompiler pipe name insensitive to casing of the path

* Improve comment wording

Co-authored-by: Jared Parsons <jared@paranoidcoding.org>

---------

Co-authored-by: Jared Parsons <jared@paranoidcoding.org>
The GetTags calls into our taggers require passing back an IEnumerable. Previously, we created a SegmentedList to hold all the data and then passed that back. However, that suffers from not being able to add back the returned list into a pool. Instead, switch to using yield return over the populated segmented list as that will allow the list to be freed back to the pool upon completion.

Utilizing the yield state machinery does incur an allocation, but this should be a much smaller allocation than the potentially very large arrays that our taggers were returning.
@AlekseyTs AlekseyTs requested review from a team as code owners November 12, 2024 22:32
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged Issues and PRs which have not yet been triaged by a lead label Nov 12, 2024
@AlekseyTs AlekseyTs merged commit 3fd0638 into features/VBOverloadResolutionPriority Nov 12, 2024
33 of 38 checks passed
@AlekseyTs AlekseyTs deleted the TemporarySnapshot branch November 13, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead VSCode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants