Fix unstable sort documentation.

Noticed this here: https://dlang.org/library/std/algorithm/sorting/sort.html
This commit is contained in:
WalterWaldron 2016-12-30 03:04:50 -05:00 committed by GitHub
parent d85b5e0a12
commit 40606feece

View file

@ -1676,7 +1676,7 @@ Params:
Returns: The initial range wrapped as a $(D SortedRange) with the predicate
$(D binaryFun!less).
Algorithms: $(HTTP en.wikipedia.org/wiki/Introsort) is used for unstable sorting and
Algorithms: $(HTTP en.wikipedia.org/wiki/Introsort, Introsort) is used for unstable sorting and
$(HTTP en.wikipedia.org/wiki/Timsort, Timsort) is used for stable sorting.
Each algorithm has benefits beyond stability. Introsort is generally faster but
Timsort may achieve greater speeds on data with low entropy or if predicate calls