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

refactor: upgrade multi-key sort #77

Merged
merged 3 commits into from
Jun 27, 2023

Conversation

EpsilonPrime
Copy link
Member

As suggested by @bkietz this PR upgrades the sort routine to utilize tuple's built-in compare behavior. This reduces the complexity of evaluating each set of four possibilities for each key manually.

Copy link
Member

@westonpace westonpace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems quite a bit simpler. I'm not sure how I feel about not vs. ! but I don't want to get hung up on these minor details.

@westonpace westonpace merged commit 4c57470 into substrait-io:main Jun 27, 2023
2 checks passed
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.

3 participants