LogLog-Beta Algorithm support within HLL

Config option to use LogLog-Beta Algorithm for Cardinality
This commit is contained in:
Harish Murthy
2016-12-09 14:28:19 +05:30
committed by antirez
parent 5ad2a94a16
commit c55e3fbae5
4 changed files with 55 additions and 25 deletions

View File

@ -1400,6 +1400,7 @@ void initServerConfig(void) {
server.lazyfree_lazy_eviction = CONFIG_DEFAULT_LAZYFREE_LAZY_EVICTION;
server.lazyfree_lazy_expire = CONFIG_DEFAULT_LAZYFREE_LAZY_EXPIRE;
server.lazyfree_lazy_server_del = CONFIG_DEFAULT_LAZYFREE_LAZY_SERVER_DEL;
server.hll_use_loglogbeta = CONFIG_DEFAULT_HLL_USE_LOGLOGBETA;
server.lruclock = getLRUClock();
resetServerSaveParams();