Eli Bendersky personal blog
Faster Sorting with Go Generics
Recently, a new set of sorting functions has landed in Go's golang.org/x/exp/slices package [1] . These functions leverage Go generics to provide a more ergonomic API for sorting (without requiring users to implement sort.Interface ), and also deliver a nice performance improvement, as the CL demonstrates.
- Points
- 117
- HN comments
- 52
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringProgramming Languages2022
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Apr 2, 2022 | Faster Sorting with Go Generics by todsacerdoti | 117 | 52 |