Skip to content

Use std::tie for lexicographic comparisons in operator< overloads#9213

Open
abadams wants to merge 2 commits into
mainfrom
abadams/use_std_tie_for_lexicographic_comparison
Open

Use std::tie for lexicographic comparisons in operator< overloads#9213
abadams wants to merge 2 commits into
mainfrom
abadams/use_std_tie_for_lexicographic_comparison

Conversation

@abadams

@abadams abadams commented Jul 16, 2026

Copy link
Copy Markdown
Member

Replace verbose if/else comparison ladders with std::tie in four multi-field operator< overloads: StageStridedLoads::Key, FusedPair, RegionsRequiredQuery, and AssociativeOpsTable's TableKey.

Replace verbose if/else comparison ladders with std::tie in four
multi-field operator< overloads: StageStridedLoads::Key, FusedPair,
RegionsRequiredQuery, and AssociativeOpsTable's TableKey.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@3bb5d0c). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9213   +/-   ##
=======================================
  Coverage        ?   69.71%           
=======================================
  Files           ?      255           
  Lines           ?    78544           
  Branches        ?    18771           
=======================================
  Hits            ?    54759           
  Misses          ?    18181           
  Partials        ?     5604           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants