mirror of
https://github.com/golang/go
synced 2024-10-04 14:31:21 -06:00
7bcbb65d78
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 |
||
---|---|---|
.. | ||
buffer_test.go | ||
buffer.go | ||
bytes_decl.go | ||
bytes_test.go | ||
bytes.go | ||
bytes.s | ||
compare_test.go | ||
equal_test.go | ||
example_test.go | ||
export_test.go | ||
reader_test.go | ||
reader.go |