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 1f478e47c2
commit 98f29044d1
9 changed files with 160 additions and 40 deletions

View File

@@ -66,6 +66,7 @@ cmph_t *bmz_new(cmph_config_t *mph, float c)
cmph_uint8 * visited = NULL;
bmz_config_data_t *bmz = (bmz_config_data_t *)mph->data;
if (c == 0) c = 1.15; // validating restrictions over parameter c.
DEBUGP("c: %f\n", c);
bmz->m = mph->key_source->nkeys;
bmz->n = ceil(c * mph->key_source->nkeys);