uros-b opened a new pull request, #17581:
URL: https://github.com/apache/iceberg/pull/17581

   Two lists are allocated with the default `ArrayList` capacity and then 
filled with exactly one element per iteration of a loop whose bound is already 
known, so they resize as they grow. This pre-sizes both:
   
   - `ManifestsTable#partitionSummariesToRows` — one row per entry in 
`summaries`
   - `ManifestFiles` — one pair per entry in `groups`
   
   `Lists.newArrayListWithCapacity` is already used elsewhere in the module. 
Behavior-preserving.
   


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