File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
fastfilter/src/main/java/org/fastfilter/xorplus Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,8 @@ public XorPlus8(long[] keys) {
131131 }
132132
133133 seed = Hash .randomSeed ();
134+ reverseOrderPos = 0 ;
135+
134136 // we use an second table t2 to keep the list of all keys that map
135137 // to a given entry (with a broken hash function, all keys could map
136138 // to entry zero).
@@ -155,7 +157,6 @@ public XorPlus8(long[] keys) {
155157 // == generate the queue ==
156158 // for each entry that is alone,
157159 // we remove it from t2, and add it to the reverseOrder list
158- reverseOrderPos = 0 ;
159160 // the list of indexes in the table that are "alone", that is,
160161 // only have one key pointing to them
161162 // we have one list per block, so that one block can have more empty entries
You can’t perform that action at this time.
0 commit comments