]> Cypherpunks repositories - gostls13.git/commit
cmd: change from sort functions to slices functions
authorIan Lance Taylor <iant@golang.org>
Wed, 22 May 2024 04:07:32 +0000 (21:07 -0700)
committerGopher Robot <gobot@golang.org>
Mon, 18 Nov 2024 19:38:28 +0000 (19:38 +0000)
commitbb2a5f0556fd6bb4dbbce5eef2d6317d20796ade
tree74478d496a849532e5095877b2e098036c2921e5
parent80344887818a2321296ce7fa71cca8ca2520611d
cmd: change from sort functions to slices functions

Doing this because the slices functions are slightly faster and
slightly easier to use. It also removes one dependency layer.

We did this outside of bootstrap tools in CL 587655.
Now that the bootstrap compiler is 1.22, we can do this in more code.

Change-Id: I9ed2dd473758cacd14f76a0639368523ccdff72f
Reviewed-on: https://go-review.googlesource.com/c/go/+/626038
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
src/cmd/api/api_test.go
src/cmd/api/main_test.go
src/cmd/compile/internal/reflectdata/reflect.go
src/cmd/compile/internal/typecheck/subr.go
src/cmd/compile/internal/types/size.go
src/cmd/compile/internal/types/sort.go [deleted file]
src/cmd/compile/internal/types/sym.go
src/cmd/compile/internal/types/sym_test.go
src/cmd/compile/internal/types/type.go