jpountz commented on code in PR #13232: URL: https://github.com/apache/lucene/pull/13232#discussion_r1544135442
########## lucene/core/src/java/org/apache/lucene/util/packed/PackedInts.java: ########## @@ -566,10 +566,20 @@ public String toString() { /** A {@link Reader} which has all its values equal to 0 (bitsPerValue = 0). */ public static final class NullReader extends Reader { + private static final NullReader DEFAULT_MONOTONIC_LONG_VALUES_PAGE_SIZE = + new NullReader(MonotonicLongValues.DEFAULT_PAGE_SIZE); Review Comment: Hmm agreed. Sorry for the suggestion. Let's not tweak ramBytesUsed then? -- 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...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org