ydb-go-sdk icon indicating copy to clipboard operation
ydb-go-sdk copied to clipboard

feat: encoder pool

Open rekby opened this issue 5 months ago • 0 comments

Now the sdk create encoder for every message in a topic: https://github.com/ydb-platform/ydb-go-sdk/blob/904939fb726cb1d29b2cbf0bc1b31282ee6ac18b/internal/topic/topicwriterinternal/encoders.go#L41-L41

It will be good to create pool of encoders with .Reset() method and reuse it.

rekby avatar Sep 16 '24 13:09 rekby