Closed krdln closed 1 year ago
Discovered that pooling in vtprotobuf is a bit underpowered (this is known – there are issues on the repo):
Basically, in practice pooling basically works for preserving capacity for slices of strings, which is something, but leaves lot of allocs on the table. Also, note that the major source of allocs in proto unmarshalling are strings, which is something not fixable by pools in Go.
Links:
Performance improvements should come from two aspects: