Faster Sorting with Go Generics
eli.thegreenplace.net
Faster Sorting with Go Generics
1–10 of 62 posts
Re: Faster Sorting with Go Generics
#2Re: Faster Sorting with Go Generics
#3Are there any good write ups on Go Generics vs other languages for those of us who are familiar with Go but do not write it on a day to day basis? I pick up Go every few months to try new things cause its infinitely easy to setup a web server in Go since it is built-in.
Re: Faster Sorting with Go Generics
#4Except about 95% of the arrays I sort aren't comparable with just <. It's less clear how the unmentioned sort.Slice() will improve.
Re: Faster Sorting with Go Generics
#5> The first thing to note is that there is no dynamic dispatch to the Less method. Each loop iteration invokes cmpstring directly. Except about 95% of the arrays I sort aren't comparable with just <. It's less clear how the unmentioned sort.Slice() will improve.
Re: Faster Sorting with Go Generics
#6Re: Faster Sorting with Go Generics
#7Quoted post unavailable.
Re: Faster Sorting with Go Generics
#8Why choose? With generics we can have all three!
Re: Faster Sorting with Go Generics
#9Re: Faster Sorting with Go Generics
#10Are there any good write ups on Go Generics vs other languages for those of us who are familiar with Go but do not write it on a day to day basis? I pick up Go every few months to try new things cause its infinitely easy to setup a web server in Go since it is built-in.
The truth will set you free.