Module stable

Source
๐Ÿ”ฌThis is a nightly-only experimental API. (slice_internals)
Expand description

This module contains the entry points for slice::sort.

Modulesยง

drift ๐Ÿ”’ Experimental
This module contains the hybrid top-level loop combining bottom-up Mergesort with top-down Quicksort.
merge ๐Ÿ”’ Experimental
This module contains logic for performing a merge of two sorted sub-slices.
quicksort ๐Ÿ”’ Experimental
This module contains a stable quicksort and partition implementation.

Structsยง

AlignedStorage ๐Ÿ”’ Experimental

Traitsยง

BufGuard ๐Ÿ‘ป Experimental
Abstracts owned memory buffer, so that sort code can live in core where no allocation is possible. This trait can then be implemented in a place that has access to allocation.

Functionsยง

driftsort_main ๐Ÿ”’ Experimental
See sort
sortExperimental
Stable sort called driftsort by Orson Peters and Lukas Bergdoll. Design document: https://github.com/Voultapher/sort-research-rs/blob/main/writeup/driftsort_introduction/text.md