go/src/strings
Joe Tsai 723a27994d strings: rely on utf8.AppendRune
This is both simpler and more performant.

Change-Id: I66ef8e49c059a722932392ee3ecfb951d9b8e121
Reviewed-on: https://go-review.googlesource.com/c/go/+/412339
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Joseph Tsai <joetsai@digital-static.net>
Auto-Submit: Joseph Tsai <joetsai@digital-static.net>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2022-08-23 20:24:43 +00:00
..
builder.go strings: rely on utf8.AppendRune 2022-08-23 20:24:43 +00:00
builder_test.go
clone.go strings: align Clone output with string([]byte("")) 2021-11-01 14:45:28 +00:00
clone_test.go strings: align Clone output with string([]byte("")) 2021-11-01 14:45:28 +00:00
compare.go net/netip: add new IP address package 2021-11-02 01:28:01 +00:00
compare_test.go
example_test.go strings: document the use of simple case-folding in EqualFold 2022-04-02 06:48:45 +00:00
export_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
reader.go
reader_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
replace.go strings: reduce allocation for byteReplacer 2022-08-19 16:32:49 +00:00
replace_test.go
search.go
search_test.go
strings.go bytes, strings: s/after/before/ in CutSuffix 2022-08-19 20:56:43 +00:00
strings_test.go strings: speed up ToUpper()/ToLower() by batch writing data with Builder 2022-08-19 16:17:50 +00:00