diff options
| author | cui fliter <imcusg@gmail.com> | 2023-10-14 01:28:00 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-10-13 19:15:06 +0000 |
| commit | ba5ebc0a0b2f00f22ecfe7d848041ff62227a717 (patch) | |
| tree | e21582368b41bef637041e1dd99f94da58a8fbb4 /src/index/suffixarray | |
| parent | 22344034c547da2e656e2a63a69b555ee974d1a8 (diff) | |
| download | go-ba5ebc0a0b2f00f22ecfe7d848041ff62227a717.tar.xz | |
index/suffixarray: add available godoc link
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>
Diffstat (limited to 'src/index/suffixarray')
| -rw-r--r-- | src/index/suffixarray/suffixarray.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index/suffixarray/suffixarray.go b/src/index/suffixarray/suffixarray.go index 7fca0fd7ba..5c222a1217 100644 --- a/src/index/suffixarray/suffixarray.go +++ b/src/index/suffixarray/suffixarray.go @@ -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 { |
