vector adapter example updated to be used with brz algorithm
This commit is contained in:
parent
3ecdcb88f7
commit
9d762c4bc0
@ -14,7 +14,6 @@ int main(int argc, char **argv)
|
||||
|
||||
//Create minimal perfect hash function using the default (chm) algorithm.
|
||||
cmph_config_t *config = cmph_config_new(source);
|
||||
cmph_config_set_graphsize(config, 1.0); // this is not required, just to get a smaller function
|
||||
cmph_config_set_algo(config, CMPH_BRZ);
|
||||
cmph_config_set_mphf_fd(config, mphf_fd);
|
||||
cmph_t *hash = cmph_new(config);
|
||||
|
Loading…
Reference in New Issue
Block a user