FasterXML / jackson-dataformats-binary

Uber-project for standard Jackson binary format backends: avro, cbor, ion, protobuf, smile
Apache License 2.0
316 stars 136 forks source link

Part 1 of doing #393: combine parser/generator side recycler #394

Closed cowtowncoder closed 1 year ago

cowtowncoder commented 1 year ago

Basically combines buffers needed by parsers, generators into single SmileBufferRecycler, instead of separate parametric instances -- this reduces ThreadLocal stored objects by half, but more important will (in part 2) be handled by SmileFactory not parser/generator instances. This in turn will make it possible to figure out a way to override recycler pool handling wrt jackson-core. Before that can be designed changes will not result in dramatic gains.