8dfd66f701
List headers made up 11% of all allocations during sync. This change removes most of those allocations by keeping the list header values cached in the encoder buffer instead. Since encoder buffers are pooled, list headers are no longer allocated in the common case where an encoder buffer is available for reuse. Co-authored-by: Felix Lange <fjl@twurst.com> |
||
---|---|---|
.. | ||
decode.go | ||
decode_tail_test.go | ||
decode_test.go | ||
doc.go | ||
encode.go | ||
encode_test.go | ||
encoder_example_test.go | ||
iterator.go | ||
iterator_test.go | ||
raw.go | ||
raw_test.go | ||
typecache.go |