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

SubmittedTitle on HNPointsComments
Apr 2, 2022Faster Sorting with Go Generics by todsacerdoti11752

More from Eli Bendersky

All 57 posts →

Related posts from the same era