Skip to content

Comments

Small allocation reduction in lsp hot path#81683

Merged
ToddGrun merged 1 commit intodotnet:mainfrom
ToddGrun:dev/toddgrun/GetTextDocuments_Allocations
Dec 14, 2025
Merged

Small allocation reduction in lsp hot path#81683
ToddGrun merged 1 commit intodotnet:mainfrom
ToddGrun:dev/toddgrun/GetTextDocuments_Allocations

Conversation

@ToddGrun
Copy link
Contributor

Found in a speedometer profile, not a significant reduction, but this path does get exercised a lot. Gets rid of a closure, enumerator, and potentially multiple array resize allocations.

Found in a speedometer profile, not a significant reduction, but this path does get exercised a lot. Gets rid of a closure, enumerator, and potentially multiple array resize allocations.
@ToddGrun ToddGrun requested a review from a team as a code owner December 13, 2025 22:43
@ToddGrun ToddGrun merged commit 7f508f7 into dotnet:main Dec 14, 2025
27 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Dec 14, 2025
@davidwengier davidwengier modified the milestones: Next, 18.3 Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants