BewareMyPower commented on pull request #10330:
URL: https://github.com/apache/pulsar/pull/10330#issuecomment-826038503


   Also I have a question. Should we add an option to configure that if the 
CompositeByteBuf could be merged? Because for the platforms that can't load the 
Circe JNI library, the performance impact that is caused by frequent GC is much 
more than the data copy in memory. With the Java based CRC32c provider, the 
merged `ByteBuf` is still in direct memory but the `CompositeByteBuf` will call 
`nioBuffer()` and copy data into heap memory.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to