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

std/lib/sort: update quicksort to use the new generics #837

Merged
merged 1 commit into from
Jul 8, 2023

Conversation

pierrec
Copy link
Contributor

@pierrec pierrec commented Jul 8, 2023

No description provided.

@pierrec
Copy link
Contributor Author

pierrec commented Jul 8, 2023

It does work with cmp set to null. Do you want a dedicated test for it?

@lerno lerno merged commit 77b3214 into c3lang:master Jul 8, 2023
18 checks passed
@lerno
Copy link
Collaborator

lerno commented Jul 8, 2023

Thank you.

@lerno
Copy link
Collaborator

lerno commented Jul 8, 2023

No, it's fine, I saw it working. I think quicksort could probably be a builtin since it's used so much by its name, so you can add a @Builtin to its declaration if you want.

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