- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for wasPartitioned (0.12 sec)
-
src/sort/gen_sort_variants.go
func pdqsort{{.FuncSuffix}}{{.TypeParam}}(data {{.DataType}}, a, b, limit int {{.ExtraParam}}) { const maxInsertion = 12 var ( wasBalanced = true // whether the last partitioning was reasonably balanced wasPartitioned = true // whether the slice was already partitioned ) for { length := b - a if length <= maxInsertion { insertionSort{{.FuncSuffix}}(data, a, b {{.ExtraArg}}) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 19.6K bytes - Viewed (0)