]> Cypherpunks repositories - gostls13.git/commit
all: replace Split in loops with more efficient SplitSeq
authorcuishuang <imcusg@gmail.com>
Mon, 28 Apr 2025 09:04:20 +0000 (17:04 +0800)
committerGopher Robot <gobot@golang.org>
Thu, 23 Oct 2025 14:34:31 +0000 (07:34 -0700)
commitca448191c9dd3acd47ba8439e5e9bc36ae21417f
tree3325be73f03b0ac22d5afa51ce4ede7239e26f83
parent107fcb70de859f7b8d08ce8bce8cf6a6d944aeff
all: replace Split in loops with more efficient SplitSeq

Find these replacements through https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/modernize.

Change-Id: If88fe0e109b7c7557bfb3d3ffc15271af1ab5856
Reviewed-on: https://go-review.googlesource.com/c/go/+/668437
Reviewed-by: Sean Liao <sean@liao.dev>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Sean Liao <sean@liao.dev>
Reviewed-by: David Chase <drchase@google.com>
src/compress/flate/example_test.go
src/go/ast/ast.go
src/log/slog/slogtest_test.go