1. 23 Jun, 2016 5 commits
    • antirez's avatar
      Minor change to conform PR #3331 to Redis code base style. · c0ca87dc
      antirez authored
      Also avoid "static" in order to have symbols during crashes.
      c0ca87dc
    • antirez's avatar
      Modules: changes to logging function. · 4b12c6a3
      antirez authored
      This commit changes what provided by PR #3315 (merged) in order to
      let the user specify the log level as a string.
      
      The define could be also used, but when this happens, they must be
      decoupled from the defines in the Redis core, like in the other part of
      the Redis modules implementations, so that a switch statement (or a
      function) remaps between the two, otherwise we are no longer free to
      change the internal Redis defines.
      4b12c6a3
    • Yossi Gottlieb's avatar
      715794b8
    • antirez's avatar
      Commit change in autoMemoryFreed(): first -> last. · b5072897
      antirez authored
      It's more natural to call the last entry added as "last", the original
      commet got me confused until I actually read the code.
      b5072897
    • antirez's avatar
      Modules: implement zig-zag scanning in autoMemoryFreed(). · f2dbc02f
      antirez authored
      Most of the time to check the last element is the way to go, however
      there are patterns where the contrary is the best choice. Zig-zag
      scanning implemented in this commmit always checks the obvious element
      first (the last added -- think at a loop where the last element
      allocated gets freed again and again), and continues checking one
      element in the head and one in the tail.
      
      Thanks to @dvisrky that fixed the original implementation of the
      function and proposed zig zag scanning.
      f2dbc02f
  2. 22 Jun, 2016 2 commits
  3. 21 Jun, 2016 1 commit
  4. 20 Jun, 2016 1 commit
  5. 13 Jun, 2016 2 commits
  6. 05 Jun, 2016 3 commits
  7. 03 Jun, 2016 1 commit
  8. 19 May, 2016 2 commits
  9. 18 May, 2016 1 commit
  10. 17 May, 2016 1 commit
  11. 14 May, 2016 1 commit
  12. 10 May, 2016 20 commits