rmuir commented on PR #11987:
URL: https://github.com/apache/lucene/pull/11987#issuecomment-1331627557

   fwiw, assigning the 0-length array just makes even more waste. Still keeping 
logic to use arrayutil.grow to oversize the arrays when they won't be reused 
even more just adds more waste.
   
   better to assign null and create array of the correct size, if it won't be 
reused.


-- 
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: issues-unsubscr...@lucene.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to