mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 23:20:29 +03:00
Fix unstable sort documentation.
Noticed this here: https://dlang.org/library/std/algorithm/sorting/sort.html
This commit is contained in:
parent
d85b5e0a12
commit
40606feece
1 changed files with 1 additions and 1 deletions
|
@ -1676,7 +1676,7 @@ Params:
|
||||||
Returns: The initial range wrapped as a $(D SortedRange) with the predicate
|
Returns: The initial range wrapped as a $(D SortedRange) with the predicate
|
||||||
$(D binaryFun!less).
|
$(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.
|
$(HTTP en.wikipedia.org/wiki/Timsort, Timsort) is used for stable sorting.
|
||||||
Each algorithm has benefits beyond stability. Introsort is generally faster but
|
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
|
Timsort may achieve greater speeds on data with low entropy or if predicate calls
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue