1. 14 Sep, 2022 1 commit
    • Björn Svensson's avatar
      Use __attribute__ when building with clang on windows · bd9ccb8c
      Björn Svensson authored
      Since clang supports __attribute__ we can avoid disabling
      it and use packed sdshdr structs. This also make sure we dont
      affect subsequent header files that require __attribute__.
      
      Note:
      Clang attempts to be compatible with MSVC and defines _MSC_VER
      bd9ccb8c
  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