Fokko opened a new issue, #8810: URL: https://github.com/apache/iceberg/issues/8810
### Feature Request / Improvement Suggestion by IDEA:  I think this is nice because `isEmpty` should be faster. We also have different implementations in `PartitionSet.java`: ```java @Override public int size() { return partitionSetById.values().stream().mapToInt(Set::size).sum(); } @Override public boolean isEmpty() { return partitionSetById.values().stream().allMatch(Set::isEmpty); } ``` ### Query engine Other -- 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...@iceberg.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org