gaobinlong opened a new pull request, #15947:
URL: https://github.com/apache/lucene/pull/15947

   ### Description
   
   The method GroupFacetCollector.getFacetEntries() can be optimized by:
   1) Initial ArrayList with known size.
   2) Return empty ArrayList if offset >= total size.
   3) Remove unnecessary local variable `included`, use entries.size() instead.


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