diff options
| author | Martin Möhrmann <martisch@uos.de> | 2016-03-26 00:04:48 +0100 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2016-04-13 04:54:03 +0000 |
| commit | 819e0b29bbbc07022e7b94c12b55860466a02e5b (patch) | |
| tree | 5f217a1da3e497402a45cdb25cd05c46dce80132 /src/bytes/reader_test.go | |
| parent | 3f66d8c84b4b3d685db1031954d3343a7a8c9d0f (diff) | |
| download | go-819e0b29bbbc07022e7b94c12b55860466a02e5b.tar.xz | |
strings: improve explode and correct comment
Merges explodetests into splittests which already contain
some of the tests that cover explode.
Adds a test to cover the utf8.RuneError branch in explode.
name old time/op new time/op delta
Split1-2 14.9ms ± 0% 14.2ms ± 0% -4.06% (p=0.000 n=47+49)
Change-Id: I00f796bd2edab70e926ea9e65439d820c6a28254
Reviewed-on: https://go-review.googlesource.com/21609
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/bytes/reader_test.go')
0 files changed, 0 insertions, 0 deletions
