You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "jackylee-ch (via GitHub)" <gi...@apache.org> on 2025/04/27 09:58:50 UTC

[PR] Spark: Use newArrayListWithExpectedSize instead of newArrayList for NDVSketchUtil [iceberg]

jackylee-ch opened a new pull request, #12907:
URL: https://github.com/apache/iceberg/pull/12907

   We renamed the method from `newArrayList` to `newArrayListWithExpectedSize` because some user tables may contain hundreds or even thousands of columns. If the expected capacity (size) of the collection is not specified in advance, dynamic resizing operations will trigger multiple memory copy operations.


-- 
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-unsubscribe@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Spark: Use newArrayListWithExpectedSize instead of newArrayList for NDVSketchUtil [iceberg]

Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra merged PR #12907:
URL: https://github.com/apache/iceberg/pull/12907


-- 
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-unsubscribe@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org