Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
strings: use fast path for IndexRune
Noticed while reviewing https://golang.org/cl/147690043/ I'd never seen anybody use IndexRune before, and unsurprisingly it doesn't use the other fast paths in the strings/bytes packages. IndexByte uses assembly. Also, less code this way. LGTM=r R=r CC=golang-codereviews https://golang.org/cl/147700043
- Loading branch information