Skip to content

Commit ae88500

Browse files
committed
bye bye FutureArrays
1 parent 83e6f73 commit ae88500

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/perf/IndexState.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
import org.apache.lucene.search.vectorhighlight.FastVectorHighlighter;
4343
import org.apache.lucene.util.Bits;
4444
import org.apache.lucene.util.BytesRef;
45-
import org.apache.lucene.util.FutureArrays;
4645
import org.apache.lucene.util.StringHelper;
4746
import org.apache.lucene.util.bkd.BKDReader.IntersectState;
4847
import org.apache.lucene.util.bkd.BKDReader;
@@ -149,10 +148,10 @@ public void visit(int docID, byte[] packedValue) throws IOException {
149148

150149
@Override
151150
public Relation compare(byte[] minPackedValue, byte[] maxPackedValue) {
152-
if (FutureArrays.compareUnsigned(targetValue, 0, Integer.BYTES, minPackedValue, 0, Integer.BYTES) < 0) {
151+
if (Arrays.compareUnsigned(targetValue, 0, Integer.BYTES, minPackedValue, 0, Integer.BYTES) < 0) {
153152
return Relation.CELL_OUTSIDE_QUERY;
154153
}
155-
if (FutureArrays.compareUnsigned(targetValue, 0, Integer.BYTES, maxPackedValue, 0, Integer.BYTES) > 0) {
154+
if (Arrays.compareUnsigned(targetValue, 0, Integer.BYTES, maxPackedValue, 0, Integer.BYTES) > 0) {
156155
return Relation.CELL_OUTSIDE_QUERY;
157156
}
158157
return Relation.CELL_CROSSES_QUERY;

0 commit comments

Comments
 (0)