Skip to content
Snippets Groups Projects
  1. Dec 28, 2013
    • Scott Vokes's avatar
      Only call push_bits if count is > 0. · ebf35e8b
      Scott Vokes authored
      ebf35e8b
    • Scott Vokes's avatar
      (BUG) Improve index construction and eliminate redundant compare. · 5ad06a4d
      Scott Vokes authored
      1. Instead of storing an offset to the previous matching byte in the
         index, store the next matching byte bigram. Since the compression
         doesn't break even unless at least 3 bytes match, any single-byte
         matches in the index should just be skipped.
      
         Since this eliminates these false positives in one pass, it also
         removes work that would otherwise be done during every walk of the
         index's offset chain - possibly several times. This greatly
         reduces the time spent in find_longest_match().
      
         EDIT: This prematurely discards information from the index,
         damaging the overall compression effectiveness. Some of the
         links being skipped are still necessary for other chains, so
         they cannot be eliminated this way. It's still possible dynamic
         programming can be used for this, but the strategy in this
         commit doesn't quite work.
      
      2. Eliminate the test of the first byte, since indexing already
         incorporates this comparison ahead of time.
      5ad06a4d
  2. Dec 21, 2013
  3. Dec 19, 2013
  4. Aug 30, 2013
  5. May 15, 2013
    • Scott Vokes's avatar
      Change from BSD-3 License to ISC License. · 7dbabf93
      Scott Vokes authored
      The "Redistributions in binary form must reproduce the above copyright
      notice, this list of conditions and the following disclaimer in the
      documentation and/or other materials provided with the distribution."
      clause of the BSD license seems to be problematic manufacturers that
      do not otherwise provide written documentation for hardware.
      7dbabf93
    • Scott Vokes's avatar
      Reduce default static_input_buffer_size. · cf564c38
      Scott Vokes authored
      There seems to be diminishing returns after 32 bytes, and it takes
      significantly less space. (It's only a default, anyway.)
      cf564c38
  6. May 13, 2013
  7. May 12, 2013
  8. May 11, 2013
  9. Mar 25, 2013
  10. Mar 14, 2013
  11. Mar 13, 2013
Loading