go/src/strings
Keith Randall ee58eccc56 internal/bytealg: move short string Index implementations into bytealg
Also move the arm64 CountByte implementation while we're here.

Fixes #19792

Change-Id: I1e0fdf1e03e3135af84150a2703b58dad1b0d57e
Reviewed-on: https://go-review.googlesource.com/98518
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-03-04 19:49:44 +00:00
..
builder.go strings: prevent copyCheck from forcing Builder to escape and allocate 2018-01-09 22:01:28 +00:00
builder_test.go strings: add Builder benchmarks comparing bytes.Buffer and strings.Builder 2018-02-26 18:00:12 +00:00
compare.go
compare_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
example_test.go strings: add Builder 2017-11-06 18:23:51 +00:00
export_test.go
reader.go all: use SeekStart, SeekCurrent, SeekEnd 2016-05-06 00:10:41 +00:00
reader_test.go strings, bytes: fix Reader 0 byte read at EOF 2016-05-03 21:01:13 +00:00
replace.go
replace_test.go strings: speed up Map 2017-02-24 22:53:05 +00:00
search.go
search_test.go
strings.go internal/bytealg: move short string Index implementations into bytealg 2018-03-04 19:49:44 +00:00
strings.s
strings_decl.go internal/bytealg: move IndexByte asssembly to the new bytealg package 2018-03-02 22:46:15 +00:00
strings_test.go bytes,strings: in generic Index, use mix of IndexByte and Rabin-Karp 2017-11-15 17:35:09 +00:00