BRZ is working with FCH or BMZ8. BMZ8 is faster but the MPHFs for each bucket are larger

This commit is contained in:
fc_botelho
2006-08-07 14:44:24 +00:00
parent 7f44ed0d0b
commit bfb82810b1
9 changed files with 160 additions and 40 deletions

View File

@@ -70,7 +70,7 @@ cmph_t *bmz8_new(cmph_config_t *mph, float c)
if (mph->verbosity) fprintf(stderr, "The number of keys in BMZ8 must be lower than 256.\n");
return NULL;
}
if (c == 0) c = 1.15; // validating restrictions over parameter c.
DEBUGP("c: %f\n", c);
bmz8->m = mph->key_source->nkeys;
bmz8->n = ceil(c * mph->key_source->nkeys);