1. 23 Jul, 2014 1 commit
    • antirez's avatar
      Faster ll2string() implementation. · d6f309d4
      antirez authored
      Based on ideas documented in this blog post:
      
      https://www.facebook.com/notes/facebook-engineering/three-optimization-tips-for-c/10151361643253920
      
      The original code was modified to handle signed integers, reformetted to
      fit inside the Redis code base, and was stress-tested with a program
      in order to validate the implementation against snprintf().
      
      Redis was measured to be measurably faster from the point of view of
      clients in real-world operations because of this change, since sometimes
      number to string conversion is used extensively (for example every time
      a GET results into an integer encoded object to be returned to the
      user).
      d6f309d4
  2. 23 Apr, 2014 1 commit
    • Glauber Costa's avatar
      fix null pointer access with no file pointer · 0c8fdb34
      Glauber Costa authored
      I happen to be working on a system that lacks urandom. While the code does try
      to handle this case and artificially create some bytes if the file pointer is
      empty, it does try to close it unconditionally, leading to a segfault.
      0c8fdb34
  3. 24 Jul, 2013 1 commit
  4. 02 Jul, 2013 2 commits
  5. 08 Nov, 2012 1 commit
  6. 31 Jul, 2012 1 commit
    • Michael Parker's avatar
      Use correct variable name for value to convert. · f1d187bb
      Michael Parker authored
      Note by @antirez: this code was never compiled because utils.c lacked the
      float.h include, so we never noticed this variable was mispelled in the
      past.
      
      This should provide a noticeable speed boost when saving certain types
      of databases with many sorted sets inside.
      f1d187bb
  7. 08 Mar, 2012 1 commit
  8. 02 Jan, 2012 1 commit
  9. 16 May, 2011 1 commit
  10. 05 May, 2011 2 commits
  11. 01 May, 2011 1 commit
  12. 10 Mar, 2011 1 commit
  13. 08 Mar, 2011 1 commit
  14. 26 Aug, 2010 1 commit
  15. 01 Jul, 2010 1 commit
    • antirez's avatar
      redis.c split into many different C files. · e2641e09
      antirez authored
      networking related stuff moved into networking.c
      
      moved more code
      
      more work on layout of source code
      
      SDS instantaneuos memory saving. By Pieter and Salvatore at VMware ;)
      
      cleanly compiling again after the first split, now splitting it in more C files
      
      moving more things around... work in progress
      
      split replication code
      
      splitting more
      
      Sets split
      
      Hash split
      
      replication split
      
      even more splitting
      
      more splitting
      
      minor change
      e2641e09