File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
fastfilter/src/main/java/org/fastfilter/xor Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ public Xor16(long[] keys) {
4747 mainloop :
4848 do {
4949 seed = Hash .randomSeed ();
50+ reverseOrderPos = 0 ;
5051 byte [] t2count = new byte [arrayLength ];
5152 long [] t2 = new long [arrayLength ];
5253 for (long k : keys ) {
@@ -62,7 +63,6 @@ public Xor16(long[] keys) {
6263 }
6364 int [] alone = new int [arrayLength ];
6465 int alonePos = 0 ;
65- reverseOrderPos = 0 ;
6666 for (int nextAloneCheck = 0 ; nextAloneCheck < arrayLength ; ) {
6767 while (nextAloneCheck < arrayLength ) {
6868 if (t2count [nextAloneCheck ] == 1 ) {
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ public Xor8(long[] keys) {
5252 mainloop :
5353 do {
5454 seed = Hash .randomSeed ();
55+ reverseOrderPos = 0 ;
5556 byte [] t2count = new byte [m ];
5657 long [] t2 = new long [m ];
5758 for (long k : keys ) {
@@ -65,7 +66,6 @@ public Xor8(long[] keys) {
6566 t2count [h ]++;
6667 }
6768 }
68- reverseOrderPos = 0 ;
6969 int [][] alone = new int [HASHES ][blockLength ];
7070 int [] alonePos = new int [HASHES ];
7171 for (int nextAlone = 0 ; nextAlone < HASHES ; nextAlone ++) {
You can’t perform that action at this time.
0 commit comments