1. 24 8月, 2010 1 次提交
  2. 21 8月, 2010 3 次提交
  3. 20 8月, 2010 4 次提交
  4. 05 8月, 2010 1 次提交
  5. 03 8月, 2010 8 次提交
  6. 01 8月, 2010 1 次提交
  7. 31 7月, 2010 1 次提交
  8. 30 7月, 2010 2 次提交
  9. 29 7月, 2010 4 次提交
  10. 28 7月, 2010 1 次提交
  11. 27 7月, 2010 7 次提交
  12. 25 7月, 2010 3 次提交
    • B
      Add zcalloc and use it where appropriate · 399f2f40
      Benjamin Kramer 提交于
      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
    • B
      Remove _dictAlloc and friends · d9dd352b
      Benjamin Kramer 提交于
      zmalloc calls abort() so _dictPanic will never be called.
      d9dd352b
    • B
      Reduce code duplication · b1e0bd4b
      Benjamin Kramer 提交于
      b1e0bd4b
  13. 23 7月, 2010 2 次提交
  14. 22 7月, 2010 2 次提交