summaryrefslogtreecommitdiff
path: root/src/strings
Commit message (Collapse)AuthorAgeFilesLines
* strings: use fast path for IndexRuneBrad Fitzpatrick2014-10-061-7/+2
| | | | | | | | | | | | | | | Noticed while reviewing https://codereview.appspot.com/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://codereview.appspot.com/147700043
* bytes, strings: document that FieldsFunc f must not be statefulRuss Cox2014-09-181-0/+2
| | | | | | | | | Fixes issue 8738. LGTM=adg R=golang-codereviews, adg CC=golang-codereviews https://codereview.appspot.com/143260045
* build: move package sources from src/pkg to srcRuss Cox2014-09-0812-0/+3829
Preparation was in CL 134570043. This CL contains only the effect of 'hg mv src/pkg/* src'. For more about the move, see golang.org/s/go14nopkg.