mirror of
https://github.com/golang/go
synced 2024-11-20 05:44:44 -07:00
8c1a627e5c
also pick off the special case in strings.Index. don't want strings.IndexByte because the call site will very rarely need to allocate and we can handle the test in the code itself. bytes.IndexByte can avoid a common allocation. R=rsc CC=golang-dev https://golang.org/cl/156091 |
||
---|---|---|
.. | ||
buffer_test.go | ||
buffer.go | ||
bytes_test.go | ||
bytes.go | ||
Makefile |