zstd/lib/compress
Yann Collet 8e0e495ce8 fixed: compression ratio discrepancy
depending on initialization,
the first byte of a new frame was invalidated or not.

As a consequence, one match opportunity was available or not,
resulting in slightly different compressed sizes
(on average, 1 or 2 bytes once every 20 frames).

It impacted ratio comparison between one-shot and streaming modes.

This fix makes the first byte of a new frame always a valid match.
Now compressed size is always the same.
It also improves compressed size by a negligible amount.
2018-12-19 10:11:06 -08:00
..
fse_compress.c refactor HUF_compress_internal for clarity 2018-10-26 13:21:37 -07:00
hist.c refactor HUF_compress_internal for clarity 2018-10-26 13:21:37 -07:00
hist.h refactor HUF_compress_internal for clarity 2018-10-26 13:21:37 -07:00
huf_compress.c refactor HUF_compress_internal for clarity 2018-10-26 13:21:37 -07:00
zstd_compress.c fixed: compression ratio discrepancy 2018-12-19 10:11:06 -08:00
zstd_compress_internal.h fixed: compression ratio discrepancy 2018-12-19 10:11:06 -08:00
zstd_double_fast.c changed searchLength into minMatch 2018-11-20 14:56:07 -08:00
zstd_double_fast.h Also Remove CParams from Table Filling Functions' Args 2018-09-28 17:10:42 -07:00
zstd_fast.c changed searchLength into minMatch 2018-11-20 14:56:07 -08:00
zstd_fast.h Also Remove CParams from Table Filling Functions' Args 2018-09-28 17:10:42 -07:00
zstd_lazy.c changed searchLength into minMatch 2018-11-20 14:56:07 -08:00
zstd_lazy.h Also Remove CParams from Table Filling Functions' Args 2018-09-28 17:10:42 -07:00
zstd_ldm.c changed ZSTD_c_compressionStrategy into ZSTD_c_strategy 2018-12-06 15:00:52 -08:00
zstd_ldm.h changed hashEveryLog into hashRateLog 2018-11-21 14:36:57 -08:00
zstd_opt.c fixed: compression ratio discrepancy 2018-12-19 10:11:06 -08:00
zstd_opt.h changed ZSTD_c_compressionStrategy into ZSTD_c_strategy 2018-12-06 15:00:52 -08:00
zstdmt_compress.c fixed default job size 2018-12-13 16:38:08 -08:00
zstdmt_compress.h zstdmt parameter getter/setter use `int` 2018-12-13 15:47:34 -08:00