1. 28 Apr, 2014 1 commit
    • antirez's avatar
      sdscatfmt() added to SDS library. · 53575c47
      antirez authored
      sdscatprintf() relies on printf() family libc functions and is sometimes
      too slow in critical code paths. sdscatfmt() is an alternative which is:
      
      1) Far less capable.
      2) Format specifier uncompatible.
      3) Faster.
      
      It is suitable to be used in those speed critical code paths such as
      CLIENT LIST output generation.
      53575c47
  2. 24 Apr, 2014 10 commits
  3. 23 Apr, 2014 5 commits
  4. 22 Apr, 2014 3 commits
  5. 18 Apr, 2014 3 commits
  6. 17 Apr, 2014 8 commits
  7. 16 Apr, 2014 6 commits
  8. 15 Apr, 2014 2 commits
  9. 14 Apr, 2014 2 commits
    • antirez's avatar
      PFDEBUG ENCODING added. · dde8dff7
      antirez authored
      dde8dff7
    • antirez's avatar
      Set HLL_SPARSE_MAX to 3000. · 54f0156e
      antirez authored
      After running a few benchmarks, 3000 looks like a reasonable value to
      keep HLLs with a few thousand elements small while the CPU cost is
      still not huge.
      
      This covers all the cases where the dense representation would use N
      orders of magnitude more space, like in the case of many HLLs with
      carinality of a few tens or hundreds.
      
      It is not impossible that in the future this gets user configurable,
      however it is easy to pick an unreasoable value just looking at savings
      in the space dimension without checking what happens in the time
      dimension.
      54f0156e