]> Cypherpunks repositories - gostls13.git/commit
flag: use strconv instead of fmt in values' String funcs
authorbogem <albertnigma@gmail.com>
Fri, 9 Sep 2016 18:23:32 +0000 (23:23 +0500)
committerIan Lance Taylor <iant@golang.org>
Sat, 10 Sep 2016 10:29:44 +0000 (10:29 +0000)
commite273a2794639692a216c46a0043e5e6929e0a959
treee9521132327585c76581c30f6dca61784c19f6ea
parent7b269195d30195f29080e17114aeec7821851870
flag: use strconv instead of fmt in values' String funcs

The existing implementation of flag values with fmt package uses
more memory and works slower than the implementation with strconv
package.

Change-Id: I9e749179f66d5c50cafe98186641bcdbc546d2db
Reviewed-on: https://go-review.googlesource.com/28914
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/flag/flag.go