module algorithms.pdqsort
¶
Source: stdlib/algorithms/pdqsort.codon
algorithms.pdqsort
¶Source: stdlib/algorithms/pdqsort.codon
INSERTION_SORT_THRESHOLD
= 24
¶NINTHER_THRESHOLD
= 128
¶PARTIAL_INSERTION_SORT_LIMIT
= 8
¶pdq_sort_array(collection: Array[T], size: int, keyf: CallableTrait[T, S], T: type, S: type)
¶pdq_sort_inplace(collection: List[T], keyf: CallableTrait[T, S], T: type, S: type)
¶pdq_sort(collection: List[T], keyf: CallableTrait[T, S], T: type, S: type)
¶