-
Marvin Stenger authored
strings.IndexByte was introduced in go1.2 and it can be used effectively wherever the second argument to strings.Index is exactly one byte long. This avoids generating unnecessary string symbols and saves a few calls to strings.Index. Change-Id: I1ab5edb7c4ee9058084cfa57cbcc267c2597e793 Reviewed-on: https://go-review.googlesource.com/65930 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
f22ba1f2
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
utf16 | ||
utf8 | ||
casetables.go | ||
digit.go | ||
digit_test.go | ||
example_test.go | ||
graphic.go | ||
graphic_test.go | ||
letter.go | ||
letter_test.go | ||
maketables.go | ||
script_test.go | ||
tables.go |