diff options
| author | Ilya Tocar <ilya.tocar@intel.com> | 2015-10-15 18:59:01 +0300 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2015-10-16 16:58:52 +0000 |
| commit | 7d86d5744484bd3297acb7c4a71fadd5670e5f82 (patch) | |
| tree | df1b62c1f9325dee07ad20f7254d3c0035063ca2 /src/runtime/stack.go | |
| parent | 9358f7fa6117445af2775076600d8df76616a7fc (diff) | |
| download | go-7d86d5744484bd3297acb7c4a71fadd5670e5f82.tar.xz | |
net: use IndexByte implementation from runtime package
In net/parse.go we reimplement bytes.IndexByte and strings.IndexByte,
However those are implemented in runtime/$GOARCH_asm.s.
Using versions from runtime should provide performance advantage,
and keep the same code together.
Change-Id: I6212184bdf6aa1f2c03ce26d4b63f5b379d8ed0c
Reviewed-on: https://go-review.googlesource.com/15953
Run-TryBot: Ilya Tocar <ilya.tocar@intel.com>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions
