- 24 Jul, 2010 1 commit
-
-
Benjamin Kramer authored
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.
-
- 01 Jul, 2010 1 commit
-
-
antirez authored
networking related stuff moved into networking.c moved more code more work on layout of source code SDS instantaneuos memory saving. By Pieter and Salvatore at VMware ;) cleanly compiling again after the first split, now splitting it in more C files moving more things around... work in progress split replication code splitting more Sets split Hash split replication split even more splitting more splitting minor change
-
- 20 Apr, 2010 1 commit
-
-
antirez authored
-
- 19 Feb, 2010 1 commit
-
-
antirez authored
A problem with replication with multiple slaves connectiong to a single master fixed. It was due to a typo, and reported on github by the user micmac. Also the copyright year fixed from many files.
-
- 15 Jan, 2010 1 commit
-
-
antirez authored
-
- 11 Jan, 2010 1 commit
-
-
antirez authored
-
- 31 Oct, 2009 1 commit
-
-
antirez authored
-
- 27 Oct, 2009 1 commit
-
-
antirez authored
-
- 23 Oct, 2009 1 commit
-
-
antirez authored
initial skiplist implementation. Most memory checks removed and zmalloc() modified to fail with an error message and abort. Anyway Redis is not designed to recover from out of memory conditions.
-
- 05 Jun, 2009 1 commit
-
-
antirez authored
-
- 04 Jun, 2009 1 commit
-
-
antirez authored
macosx specific zmalloc.c, uses malloc_size function in order to avoid to waste memory and time to put an additional header
-
- 30 Apr, 2009 1 commit
-
-
antirez authored
-
- 27 Mar, 2009 1 commit
-
-
antirez authored
-
- 22 Mar, 2009 1 commit
-
-
antirez authored
-