]> Cypherpunks.ru repositories - gostls13.git/commitdiff
index/suffixarray: add available godoc link
authorcui fliter <imcusg@gmail.com>
Fri, 13 Oct 2023 17:28:00 +0000 (01:28 +0800)
committerGopher Robot <gobot@golang.org>
Fri, 13 Oct 2023 19:15:06 +0000 (19:15 +0000)
Change-Id: Ic6397348108f00fc88b59b259169bd98daceba3a
Reviewed-on: https://go-review.googlesource.com/c/go/+/535085
Run-TryBot: shuang cui <imcusg@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/index/suffixarray/suffixarray.go

index 7fca0fd7ba997728434e28588185bda43370ff77..5c222a1217d659661c427f668223c7ce475551e9 100644 (file)
@@ -70,8 +70,8 @@ func (a *ints) slice(i, j int) ints {
        return ints{nil, a.int64[i:j]}
 }
 
-// New creates a new Index for data.
-// Index creation time is O(N) for N = len(data).
+// New creates a new [Index] for data.
+// [Index] creation time is O(N) for N = len(data).
 func New(data []byte) *Index {
        ix := &Index{data: data}
        if len(data) <= maxData32 {