aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack2.go
diff options
context:
space:
mode:
authorIlya Tocar <ilya.tocar@intel.com>2015-10-15 18:59:01 +0300
committerBrad Fitzpatrick <bradfitz@golang.org>2015-10-16 16:58:52 +0000
commit7d86d5744484bd3297acb7c4a71fadd5670e5f82 (patch)
treedf1b62c1f9325dee07ad20f7254d3c0035063ca2 /src/runtime/stack2.go
parent9358f7fa6117445af2775076600d8df76616a7fc (diff)
downloadgo-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/stack2.go')
0 files changed, 0 insertions, 0 deletions