mirror of
https://github.com/golang/go.git
synced 2026-02-06 18:00:01 +00:00
sort: improve comment readability for Stable function
Change-Id: I3bc9f906f85e2b5f3d4ba6484e3c125065e36b57
GitHub-Last-Rev: 5d637c1325
GitHub-Pull-Request: golang/go#77190
Reviewed-on: https://go-review.googlesource.com/c/go/+/736501
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
This commit is contained in:
parent
2bc4315d92
commit
9ef26e96e3
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ func Float64sAreSorted(x []float64) bool { return slices.IsSorted(x) }
|
|||
func StringsAreSorted(x []string) bool { return slices.IsSorted(x) }
|
||||
|
||||
// Notes on stable sorting:
|
||||
// The used algorithms are simple and provable correct on all input and use
|
||||
// The used algorithms are simple and provably correct on all input and use
|
||||
// only logarithmic additional stack space. They perform well if compared
|
||||
// experimentally to other stable in-place sorting algorithms.
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue