sgup432 commented on code in PR #16050:
URL: https://github.com/apache/lucene/pull/16050#discussion_r3262616545
##########
lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90DocValuesProducer.java:
##########
@@ -391,6 +391,24 @@ public void close() throws IOException {
private record DocValuesSkipperEntry(
long offset, long length, long minValue, long maxValue, int docCount,
int maxDocId) {}
+ // Cached VectorizationProvider instance to avoid repeated stack walks in
ensureCaller()
+ private static final
org.apache.lucene.internal.vectorization.DocValuesRangeSupport
+ DOC_VALUES_RANGE_SUPPORT =
+
org.apache.lucene.internal.vectorization.VectorizationProvider.getInstance()
+ .getDocValuesRangeSupport();
+
+ static void rangeIntoBitSet(
+ org.apache.lucene.util.LongValues values,
+ int fromDoc,
+ int toDoc,
+ long minValue,
+ long maxValue,
+ org.apache.lucene.util.FixedBitSet bitSet,
Review Comment:
Fixed
--
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]