sort: Strings should use 3-way radix quicksort #28071
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Performance
Milestone
"3-way radix quicksort is the method of choice for sorting strings" – Robert Sedgewick (https://www.cs.princeton.edu/~rs/AlgsDS07/18RadixSort.pdf , slide 29)
In my tests, 3-way radix quicksort is about twice as fast as Go 1.11's sort.Strings.
Rough demo code: https://play.golang.org/p/KGVIX6Cwha8
The text was updated successfully, but these errors were encountered: