go/printer: factor some frequently used code
Added a cache to compensate for extra call overhead. go test -bench=Print marginally faster (in the noise). R=r CC=golang-dev https://golang.org/cl/5574061
Showing
Please
register
or
sign in
to comment