bziobrowski commented on code in PR #15591: URL: https://github.com/apache/pinot/pull/15591#discussion_r2053962702
########## pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/column/PhysicalColumnIndexContainer.java: ########## @@ -39,7 +39,11 @@ public final class PhysicalColumnIndexContainer implements ColumnIndexContainer { private static final Logger LOGGER = LoggerFactory.getLogger(PhysicalColumnIndexContainer.class); - private final Map<IndexType, IndexReader> _readersByIndex; + private static final IndexReader[] EMPTY_READERS = new IndexReader[0]; + Review Comment: Extracted to internal static class. Note: it adds another ~20B to object size (ref + header). -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org