kkewwei commented on PR #16089:
URL: https://github.com/apache/lucene/pull/16089#issuecomment-5339094239

   @gf2121  Very thank you for the review.
   
    `BulkAdder#grow` currently also increments the counter, so reusing it for 
capacity growth would affect the counter unless we add a parameter to disable 
it. Introducing such a parameter would require changing a broader set of 
callers. Given that, I think adding a dedicated method keeps the behavior 
explicit and minimizes the scope of this change.


-- 
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: [email protected]

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to