1. 14 Aug, 2020 1 commit
    • michael-grunder's avatar
      Patch Hiredis v1.0.0 to use Redis' SDS library. · 211580d1
      michael-grunder authored
      Hiredis needs to run in Windows so has a fair bit of logic to handle
      that environment.  This isn't a requirement when packaging it in Redis,
      and to avoid having to maintain two copies of virtually the same library
      in memory, just use the one from Redis.
      
      There are a few places where Hiredis is checking for NULL return values
      from allocations, because we try to gracefully handle those situations.
      This isn't needed in Redis as it just hard aborts under such
      circumstances.
      211580d1
  2. 07 Jun, 2020 1 commit
  3. 09 Aug, 2019 2 commits
  4. 13 Apr, 2019 1 commit
  5. 14 May, 2016 1 commit
  6. 20 Apr, 2016 2 commits
  7. 13 Mar, 2015 1 commit
  8. 05 Jan, 2015 2 commits
    • Matt Stancliff's avatar
      Fix sds building with C++ · 0cacb485
      Matt Stancliff authored
      These should really just be macros to shut up our type system.
      0cacb485
    • michael-grunder's avatar
      Improve redisAppendCommandArgv performance · 40f7035b
      michael-grunder authored
      OK, perhaps the second time is a charm.  I forgot that I had
      hiredis forked from a long time ago, so the initial pull
      request was hosed.  :)
      
      * Pulled in sdscatfmt() from Redis, and modified it to accept a
        size_t (%T) style format specifier.
      
      * Pulled in sdsll2str() and sdsull2str() from Redis (needed by
        sdscatfmt).
      
      * Added a new method, redisFormatSdsCommandArgv() which takes
        and sds* as the target, rather than char* (and uses sdscatfmt
        instead of sprintf for the construction).
      
      I get roughly the following improvement:
      
      Old: 1.044806
      New: 0.481620
      
      The benchmark code itself can be found here:
      https://gist.github.com/michael-grunder/c92ef31bb632b3d0ad81
      
      Closes #260
      40f7035b
  9. 09 Apr, 2014 1 commit
  10. 19 Apr, 2011 1 commit
  11. 27 Jan, 2011 1 commit
  12. 19 Jan, 2011 1 commit
  13. 20 Sep, 2010 1 commit
  14. 25 May, 2010 1 commit
  15. 18 May, 2010 1 commit