]> Cypherpunks repositories - gostls13.git/commit
strconv: use bytealg implementation of IndexByteString
authorTim Cooper <tim.cooper@layeh.com>
Wed, 6 Jun 2018 19:23:44 +0000 (16:23 -0300)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 22 Aug 2018 17:04:01 +0000 (17:04 +0000)
commit5ddecd150821713c53de15f439c7925b28c9f535
treef7e7010d560a8d929c4ce61ba758c913e057e757
parent0c706fddce2066fa0f72df364dd393f74027d753
strconv: use bytealg implementation of IndexByteString

    benchmark                  old ns/op     new ns/op     delta
    BenchmarkUnquoteEasy-4     188           79.5          -57.71%
    BenchmarkUnquoteHard-4     653           622           -4.75%

Fixes #23821

Change-Id: I1ebfab1b7f0248fd313de21396e0f8612076aa6d
Reviewed-on: https://go-review.googlesource.com/116755
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/strconv/quote.go