1. 26 May, 2016 2 commits
  2. 13 Feb, 2015 2 commits
  3. 26 Apr, 2014 1 commit
    • zstream: grow based on used memory rather than allocated · c7f86efb
      When deflating data, we might need to grow the buffer. Currently we
      add a guess on top of the currently-allocated buffer size.
      
      When we re-use the buffer, it already has some memory allocated; adding
      to that means that we always grow the buffer regardless of how much we
      need to use.
      
      Instead, increase on top of the currently-used size. This still leaves
      us with the allocated size of the largest object we compress, but it's a
      minor pain compared to unbounded growth.
      
      This fixes #2285.
      Carlos Martín Nieto committed
  4. 30 Jan, 2014 3 commits
  5. 26 Jan, 2014 1 commit
  6. 14 Jan, 2014 2 commits