Benjamin Kramer 399f2f401c Add zcalloc and use it where appropriate
calloc is more effecient than malloc+memset when the system uses mmap to
allocate memory. mmap always returns zeroed memory so the memset can be
avoided.  The threshold to use mmap is 16k in osx libc and 128k in bsd
libc and glibc. The kernel can lazily allocate the pages, this reduces
memory usage when we have a page table or hash table that is mostly
empty.

This change is most visible when you start a new redis instance with vm
enabled.  You'll see no increased memory usage no matter how big your
page table is.
2010-07-25 00:11:20 +02:00
2010-05-21 13:59:16 +02:00
2010-07-01 14:41:03 +02:00
2009-03-22 10:30:00 +01:00
2010-07-01 14:45:37 +02:00
2009-03-22 10:30:00 +01:00
2009-03-22 10:30:00 +01:00

Check the 'doc' directory. doc/README.html is a good starting point :)
Description
No description provided
Readme 79 MiB
Languages
C 85.6%
Tcl 13.2%
Ruby 0.4%
Shell 0.4%
Makefile 0.3%
Other 0.1%