Problem
The `enable_json_stream_shared_compressor_buffers` config key pre-allocates shared `bytes.Buffer` instances in the Go JSON stream serializer to reduce GC pressure. ADP uses a Rust encoder; this may be not applicable or may map to a buffer pre-allocation configuration.
This issue was split from #1686.
What needs to happen
Determine whether ADP's encoder has a configurable equivalent buffer pre-allocation, or whether this is a Go-specific optimization with no ADP analog.
Problem
The `enable_json_stream_shared_compressor_buffers` config key pre-allocates shared `bytes.Buffer` instances in the Go JSON stream serializer to reduce GC pressure. ADP uses a Rust encoder; this may be not applicable or may map to a buffer pre-allocation configuration.
This issue was split from #1686.
What needs to happen
Determine whether ADP's encoder has a configurable equivalent buffer pre-allocation, or whether this is a Go-specific optimization with no ADP analog.