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

remove reflection-based slice sort #51

Merged
merged 1 commit into from
Jun 26, 2017

Conversation

erizocosmico
Copy link
Contributor

Remove the reflection-based slice sort and substitute it by a type implementing sort.Interface. SliceStable uses reflection and as a result is way slower than this. Also, it's only available in Go 1.8 and above (distros like fedora don't have Go 1.8 yet on the official channels).

@smola
Copy link
Contributor

smola commented Jun 26, 2017

Please, rebase.

Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
@erizocosmico
Copy link
Contributor Author

@smola done

@smola smola merged commit 7810094 into src-d:master Jun 26, 2017
@erizocosmico erizocosmico deleted the feature/no-reflection-sort branch June 27, 2017 07:18
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.

None yet

2 participants