-
Rui Ueyama authored
Call copy with as large buffer as possible to reduce the number of function calls. benchmark old ns/op new ns/op delta BenchmarkBytesRepeat 540 162 -70.00% BenchmarkStringsRepeat 563 177 -68.56% LGTM=josharian R=golang-codereviews, josharian, dave, dvyukov CC=golang-codereviews https://golang.org/cl/90550043
7bcbb65d
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
example_test.go | ||
export_test.go | ||
reader.go | ||
reader_test.go | ||
replace.go | ||
replace_test.go | ||
search.go | ||
search_test.go | ||
strings.go | ||
strings.s | ||
strings_decl.go | ||
strings_test.go |