Skip to content
Snippets Groups Projects
  1. Jan 08, 2022
    • Yann Collet's avatar
      early update literals · 88e9a984
      Yann Collet authored
      for better cost estimation in the following series for matches.
      
      Unfortunately, this does not necessarily result in better compression.
      Results are all over the places,
      with best outcome observed for silesia/x-ray
      but most other files tend to get slightly worse after this change.
      
      It's strange because it seems that we are just providing more accurate information for the cost estimator.
      
      Anyway, as it also increases code complexity,
      it's probably not interesting enough for now.
      88e9a984
  2. Jan 07, 2022
  3. Jan 06, 2022
  4. Jan 05, 2022
  5. Jan 04, 2022
  6. Jan 02, 2022
  7. Dec 31, 2021
    • Yann Collet's avatar
      fix performance issue in scenario #2966 (part 1) · 8c53e526
      Yann Collet authored
      When re-using a compression state, across multiple successive compressions,
      the state should minimize the amount of allocation and initialization required.
      
      This mostly matters in situations where initialization is an overwhelming task
      compared to compression itself.
      This can happen when the amount to compress is small,
      while the compression state was given the impression that it would be much larger,
      aka, streaming mode without providing a srcSize hint.
      
      This lean-initialization optimization was broken in 980f3bbf .
      
      This commit fixes it, making this scenario once again on par with v1.4.9.
      
      Note that this does not completely fix #2966,
      since another heavy initialization, specific to row mode,
      is also happening (and was not present in v1.4.9).
      This will be fixed in a separate commit.
      8c53e526
  8. Dec 30, 2021
  9. Dec 29, 2021
  10. Dec 28, 2021
Loading