You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/09/19 19:38:42 UTC

[GitHub] [pulsar] merlimat commented on pull request #15033: [improvement][client-java] Avoid too large memory preallocation for batch message.

merlimat commented on PR #15033:
URL: https://github.com/apache/pulsar/pull/15033#issuecomment-1251465417

   @tjiuming @Jason918 @AnonHxy 
   
   > Allocate small memory for batch message first, and let it grow(with no memory resizes and memory copies).
   
   How can you say there are no memory resizes or copies? 
   
   I'm still not convinced that this change is not bringing a significant performance regression.
   
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org