Skip to content

Conversation

@happygiraffe
Copy link
Collaborator

  • Sort() uses generics to remove some code.
  • SortFunc() may be faster in some circumstances, as it performs a three-way comparison rather than a two-way.

This is a code-refactoring to use newer Go APIs.

- `Sort()` uses generics to remove some code.
- `SortFunc()` may be faster in some circumstances,
  as it performs a three-way comparison rather than a two-way.
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.

1 participant