diff options
| author | Daniel Martí <mvdan@mvdan.cc> | 2017-03-05 13:37:33 +0100 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2017-03-06 04:37:13 +0000 |
| commit | de3669901a6c9551067071ab410775e57e3b26c2 (patch) | |
| tree | 7af731c36ef80ad0b8635987328f42a29af88ef5 /src/encoding/xml | |
| parent | 6fd5e2549ad530dc6f8504de61f1e49fa4f336ea (diff) | |
| download | go-de3669901a6c9551067071ab410775e57e3b26c2.tar.xz | |
strconv: remove unused append rune width param
Found by github.com/mvdan/unparam. Small performance win when the
utf8.RuneLen call is removed.
name old time/op new time/op delta
AppendQuoteRune-4 21.7ns ± 0% 21.4ns ± 0% -1.38% (p=0.008 n=5+5)
Change-Id: Ieb3b3e1148db7a3d854c81555a491edeff549f43
Reviewed-on: https://go-review.googlesource.com/37831
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding/xml')
0 files changed, 0 insertions, 0 deletions
