Descriptionstrings: add IndexRune tests, ASCII fast path
$ gotest -test.v -test.run=IndexRune -test.bench=.*
=== RUN strings_test.TestIndexRune
--- PASS: strings_test.TestIndexRune (0.0 seconds)
PASS
strings_test.BenchmarkIndexRune 20000000 105 ns/op
strings_test.BenchmarkIndexByte 50000000 48 ns/op
Patch Set 1 #Patch Set 2 : diff -r 7570d405bc93 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 7570d405bc93 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 3abc08a0a1fe https://go.googlecode.com/hg/ #
Total comments: 2
MessagesTotal messages: 11
|