You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2018/08/06 09:44:37 UTC

[GitHub] Dreamtecher commented on issue #387: [ROCKETMQ-387] Set ArrayList initialCapacity

Dreamtecher commented on issue #387: [ROCKETMQ-387] Set ArrayList initialCapacity
URL: https://github.com/apache/rocketmq/pull/387#issuecomment-410651126
 
 
   @vongosling But if we do not set initialCapacity, ArrayList capacity expansion water-level is **0**, so when add an element, ArrayList will call `grow`. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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