diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2013-03-28 13:43:34 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2013-03-28 13:43:34 -0700 |
| commit | 731dcb7680303792315625a86ec0390ca41c03b9 (patch) | |
| tree | 00067d9b1700b5caddaaea138c3ff74568e08811 /src/pkg/runtime | |
| parent | cb79b2cf22ecd84b51ee46ddc922b9214fccc3c0 (diff) | |
| download | go-731dcb7680303792315625a86ec0390ca41c03b9.tar.xz | |
net/url: use strings.Index instead of a loop
We already depend on strings in this file, so use it.
Plus strings.Index will be faster than a manual loop
once issue 3751 is finished.
R=golang-dev, khr
CC=golang-dev
https://golang.org/cl/8116043
Diffstat (limited to 'src/pkg/runtime')
0 files changed, 0 insertions, 0 deletions
