kbendick opened a new pull request #3260: URL: https://github.com/apache/iceberg/pull/3260
The number of ErrorProne warnings has gotten larger lately. This fixes `AvoidNewHashMapInt` as it has performance implications. Replaces all instance of `new HashMap(int)` with `newHashMapWithExpectedSize`, as `new HashMap(int)` will initially allocate a map with 3/4th of the passed in size and then require growing / reallocating once it's actually filled with all of the values. -- 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]
