Skip to content

Use struct tuples instead of reference tuples for orders defined in terms of pairs #18513

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

brianrourkeboll
Copy link
Contributor

Description

  • Redefine "pair" ordering in terms of struct tuples instead of reference tuples.

range and pos comparisons don't seem to be very widespread in the compiler/tooling, so this may not have much effect on compiler/tooling performance, but heap-allocating reference tuples for every comparison of range and pos seems unnecessary.

Checklist

  • Release notes entry updated: I don't think they're necessary.

Copy link
Contributor

github-actions bot commented Apr 27, 2025

⚠️ Release notes required, but author opted out

Warning

Author opted out of release notes, check is disabled for this pull request.
cc @dotnet/fsharp-team-msft

@T-Gro T-Gro added the NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes label Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes
Projects
Status: New
Development

Successfully merging this pull request may close these issues.

3 participants