-
Brad Fitzpatrick authored
The *Encoder is almost always garbage. It doesn't need an encodeState inside of it (and its bytes.Buffer), since it's only needed locally inside of Encode. benchmark old ns/op new ns/op delta BenchmarkEncoderEncode 2562 2553 -0.35% benchmark old bytes new bytes delta BenchmarkEncoderEncode 283 102 -63.96% R=r CC=gobot, golang-dev https://golang.org/cl/9365044
f1583bb9
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
testdata | ||
bench_test.go | ||
decode.go | ||
decode_test.go | ||
encode.go | ||
encode_test.go | ||
example_test.go | ||
indent.go | ||
scanner.go | ||
scanner_test.go | ||
stream.go | ||
stream_test.go | ||
tagkey_test.go | ||
tags.go | ||
tags_test.go |