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 16:37:49 +00:00
parent 5334c9debc
commit 690dc3ee82
3 changed files with 13 additions and 1 deletions

View File

@@ -366,6 +366,8 @@ cmph_t *cmph_new(cmph_config_t *mph)
break;
case CMPH_BRZ: /* included -- Fabiano */
DEBUGP("Creating brz hash\n");
if (c >= 2.0) brz_config_set_algo(mph, CMPH_FCH);
else brz_config_set_algo(mph, CMPH_BMZ8);
mphf = brz_new(mph, c);
break;
case CMPH_FCH: /* included -- Fabiano */