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

Switch from Tuple to ValueTuple for Dictionary keys #5554

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

Erarndt
Copy link
Contributor

@Erarndt Erarndt commented Dec 20, 2023

Bug

Related: NuGet/Home#12748

Regression? Last working version:

Description

Using System.Tuple for a dictionary key requires an allocation for each insertion/lookup. This can be avoided by switching to ValueTuple.

PR Checklist

  • PR has a meaningful title

  • PR has a linked issue.

  • Described changes

  • Tests

    • Automated tests added
    • OR
    • Test exception
    • OR
    • N/A
  • Documentation

    • Documentation PR or issue filled
    • OR
    • N/A

@Erarndt Erarndt requested a review from a team as a code owner December 20, 2023 21:52
@ghost ghost added the Community PRs created by someone not in the NuGet team label Dec 20, 2023
@ghost ghost added the Status:No recent activity PRs that have not had any recent activity and will be closed if the label is not removed label Dec 28, 2023
@ghost
Copy link

ghost commented Dec 28, 2023

This PR has been automatically marked as stale because it has no activity for 7 days. It will be closed if no further activity occurs within another 90 days of this comment. If it is closed, you may reopen it anytime when you're ready again, as long as you don't delete the branch.

@ghost ghost removed the Status:No recent activity PRs that have not had any recent activity and will be closed if the label is not removed label Jan 2, 2024
@martinrrm martinrrm added Approved for CI Status:No recent activity PRs that have not had any recent activity and will be closed if the label is not removed labels Jan 2, 2024
@ghost ghost removed the Status:No recent activity PRs that have not had any recent activity and will be closed if the label is not removed label Jan 2, 2024
@martinrrm martinrrm merged commit 2f6aaee into NuGet:dev Jan 8, 2024
16 checks passed
@Erarndt Erarndt deleted the dev-erarndt-ValueTuple branch January 12, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community PRs created by someone not in the NuGet team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants