LZF compression re-enabled by default, but with INIT_HTAB set to 0 to avoid the very costly memset initialization. Note that with this option set valgrind will output some false positive about lzf_c.c

This commit is contained in:
antirez
2009-12-16 15:48:57 -05:00
parent 121f70cfae
commit b055378971
3 changed files with 6 additions and 6 deletions

View File

@ -1142,7 +1142,7 @@ static void initServerConfig() {
server.appendfilename = "appendonly.aof";
server.requirepass = NULL;
server.shareobjects = 0;
server.rdbcompression = 0;
server.rdbcompression = 1;
server.sharingpoolsize = 1024;
server.maxclients = 0;
server.maxmemory = 0;