summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <jbj>2012-03-03 14:11:27 +0000
committerjbj <jbj>2012-03-03 14:11:27 +0000
commit8f8ae8b356b5b354039c12040052637e593933a7 (patch)
tree008535ea2abd010516963b46cdc4e3928c3b2855
parenta2a61d2008adc994330dccaf4d8a2c916f0e9b75 (diff)
downloadlibpopt-8f8ae8b356b5b354039c12040052637e593933a7.tar.gz
- reduce the probability of false positives.
-rw-r--r--tdict.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdict.c b/tdict.c
index 33cbf5a..a0931d4 100644
--- a/tdict.c
+++ b/tdict.c
@@ -67,9 +67,9 @@ int main(int argc, const char ** argv)
/* XXX Scale the Bloom filters in popt. */
if ((rc = loadDict(dictfn, NULL)) <= 0)
goto exit;
- _poptBitsK = 2;
+ _poptBitsK = 10;
_poptBitsM = 0;
- _poptBitsN = _poptBitsK * rc;
+ _poptBitsN = 2 * _poptBitsK * rc;
optCon = poptGetContext("tdict", argc, argv, options, 0);