zermelo
zermelo copied to clipboard
Strings
The goal here is to attempt to add SortStrings[S ~string]([]S) and StringSorter[~string]
- Should be faster than sort.Strings and slices.Sort for large slices
- Should result in lexicographic sorting (MSD radix sort), such that sort.StringsAreSorted is always true after sorting
- Possibly allows for v2
Sortfunction that handles the entireconstraints.Orderedtype space, assuming I can get reflection and generics to play nice together.
I tried this once when I first wrote zermelo and it was too slow, but may as well give it another shot.
Trying to get a unified Ordered call is not happening. I'd still like to do this at some point, but it would likely be as a subpackage later on. Putting this on the back burner...