Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missed XOR_BINARY_FUSE_8 into FilterType #38

Merged
merged 1 commit into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions fastfilter/src/main/java/org/fastfilter/FilterType.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
import org.fastfilter.cuckoo.CuckooPlus16;
import org.fastfilter.cuckoo.CuckooPlus8;
import org.fastfilter.gcs.GolombCompressedSet;
import org.fastfilter.xor.Xor16;
import org.fastfilter.xor.Xor8;
import org.fastfilter.xor.XorSimple;
import org.fastfilter.xor.XorSimple2;
import org.fastfilter.xor.*;
import org.fastfilter.xorplus.XorPlus8;

/**
Expand Down Expand Up @@ -84,6 +81,12 @@ public Filter construct(long[] keys, int setting) {
return Xor16.construct(keys);
}
},
XOR_BINARY_FUSE_8 {
@Override
public Filter construct(long[] keys, int setting) {
return XorBinaryFuse8.construct(keys);
}
},
XOR_PLUS_8 {
@Override
public Filter construct(long[] keys, int setting) {
Expand Down
1 change: 1 addition & 0 deletions jmh/src/main/java/org/fastfilter/ConstructionState.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public class ConstructionState {
"XOR_SIMPLE_2",
"XOR_8",
"XOR_16",
"XOR_BINARY_FUSE_8",
"XOR_PLUS_8",
"CUCKOO_8",
"CUCKOO_16",
Expand Down
Loading