1. 27 Jul, 2010 2 commits
  2. 24 Jul, 2010 3 commits
    • Benjamin Kramer's avatar
      Add zcalloc and use it where appropriate · 399f2f40
      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.
      399f2f40
    • Benjamin Kramer's avatar
      Remove _dictAlloc and friends · d9dd352b
      Benjamin Kramer authored
      zmalloc calls abort() so _dictPanic will never be called.
      d9dd352b
    • Benjamin Kramer's avatar
      Reduce code duplication · b1e0bd4b
      Benjamin Kramer authored
      b1e0bd4b
  3. 23 Jul, 2010 1 commit
  4. 22 Jul, 2010 6 commits
  5. 21 Jul, 2010 1 commit
  6. 16 Jul, 2010 1 commit
  7. 12 Jul, 2010 1 commit
  8. 09 Jul, 2010 1 commit
  9. 07 Jul, 2010 1 commit
  10. 06 Jul, 2010 6 commits
  11. 05 Jul, 2010 5 commits
  12. 01 Jul, 2010 11 commits
  13. 24 Jun, 2010 1 commit