We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d76e61 commit 4072892Copy full SHA for 4072892
2 files changed
README.md
@@ -108,15 +108,14 @@ mvn exec:java -Dexec.mainClass="me.lemire.xfuse.Statistics" -q
108
| 1 000 000 | 9,84 | 9,04 | 19,68 | 18,09 |
109
| 10 000 000 | 9,84 | 9,02 | 19,68 | 18,04 |
110
111
-## Estimated false positive rates (percent)
112
+## Estimated false positive rates (percent)
113
| N | Xor8 | BinaryFuse8 | Xor16 | BinaryFuse16 |
114
|---|---|---|---|---|
115
-| 1 000 | 0,3000% | 0,6000% | 0,0000% | 0,0000% |
116
-| 10 000 | 0,3400% | 0,3200% | 0,0100% | 0,0000% |
117
-| 100 000 | 0,3890% | 0,3930% | 0,0010% | 0,0000% |
118
-| 1 000 000 | 0,3900% | 0,4050% | 0,0010% | 0,0000% |
119
-| 10 000 000 | 0,3980% | 0,4020% | 0,0020% | 0,0000% |
+| 1 000 | 0,3945% | 0,3895% | 0,0010% | 0,0025% |
+| 10 000 | 0,4020% | 0,4080% | 0,0015% | 0,0020% |
+| 100 000 | 0,3945% | 0,4025% | 0,0010% | 0,0005% |
+| 1 000 000 | 0,3745% | 0,3865% | 0,0025% | 0,0015% |
120
121
122
## Benchmarks
src/main/java/me/lemire/xfuse/Statistics.java
@@ -155,7 +155,7 @@ private static Metrics evaluateFilter(String filterName, Function<Arena, XorFilt
155
m.bitsPerElement = (filterSizeBytes * 8.0) / numElements;
156
157
// False positive test using odd numbers
158
- int testSamples = Math.min(100_000, numElements);
+ int testSamples = 200_000;
159
int falsePositives = 0;
160
for (int i = 0; i < testSamples; i++) {
161
long testKey = (i * 2L) + 1;
0 commit comments