return to top
source
Key order on a segment, using the same indirect reads as the executable.
The executed short-segment insertion sort orders the indirect keys.
Insertion sort leaves every entry outside its segment unchanged.
A median is one of its samples, including when sample keys coincide.
Both pinned pivot schemes choose a key belonging to the nonempty segment.