gojay

high performance JSON encoder/decoder with stream API for Golang
git clone git://git.lair.cx/gojay
Log | Files | Refs | README | LICENSE

commit 872880a888cdc928da73da0c3856acd384629f84
parent cce191b2eaf5400d428bf8cb841202ae27fb03c2
Author: francoispqt <francois@parquet.ninja>
Date:   Thu, 26 Apr 2018 07:42:10 +0800

decode pool remove redundant assignment

Diffstat:
Mdecode_pool.go | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/decode_pool.go b/decode_pool.go @@ -21,7 +21,6 @@ func newDecoder(r io.Reader, bufSize int) *Decoder { dec.length = 0 if bufSize > 0 { dec.data = make([]byte, bufSize) - dec.length = 0 } return dec default: