You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by GitBox <gi...@apache.org> on 2020/03/07 11:13:35 UTC

[GitHub] [zookeeper] maoling commented on issue #1267: ZOOKEEPER-3709: Pre-Size Buffer in Learner Request Method

maoling commented on issue #1267: ZOOKEEPER-3709: Pre-Size Buffer in Learner Request Method
URL: https://github.com/apache/zookeeper/pull/1267#issuecomment-596077147
 
 
   The pre-size seems like an optimization, but the calculation of `buffer` is a little trivial. If the size is far greater than 32(default value), this will have a significant effect to avoid growing capacity frequently, but in most cases, that size is small.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services