1
0
mirror of https://github.com/golang/go synced 2024-11-25 20:47:58 -07:00
go/src/index/suffixarray
Ian Lance Taylor b0b1d42db3 all: change from sort functions to slices functions where feasible
Doing this because the slices functions are slightly faster and
slightly easier to use. It also removes one dependency layer.

This CL does not change packages that are used during bootstrap,
as the bootstrap compiler does not have the required slices functions.
It does not change the go/scanner package because the ErrorList
Len, Swap, and Less methods are part of the Go 1 API.

Change-Id: If52899be791c829198e11d2408727720b91ebe8a
Reviewed-on: https://go-review.googlesource.com/c/go/+/587655
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
2024-05-23 01:00:11 +00:00
..
example_test.go
gen.go
sais2.go index/suffixarray: use built-in clear to simplify code 2024-03-18 23:57:18 +00:00
sais.go index/suffixarray: use built-in clear to simplify code 2024-03-18 23:57:18 +00:00
suffixarray_test.go all: change from sort functions to slices functions where feasible 2024-05-23 01:00:11 +00:00
suffixarray.go all: change from sort functions to slices functions where feasible 2024-05-23 01:00:11 +00:00