mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
Optimize ZSTD compression level 6 parameters
- Reduce minMatch from 3 to 2 and searchLog from 4 to 2 for default parameters - Reduce searchLog from 4 to 3 for 16KB dictionary parameters - Update corresponding test expectations for determinism tests These parameter adjustments improve compression efficiency for level 6 while maintaining the lazy search strategy.
This commit is contained in:
parent
d462f691ba
commit
d5be12e901
2 changed files with 4 additions and 4 deletions
|
|
@ -31,7 +31,7 @@ static const ZSTD_compressionParameters ZSTD_defaultCParameters[4][ZSTD_MAX_CLEV
|
|||
{ 21, 16, 17, 1, 5, 0, ZSTD_dfast }, /* level 3 */
|
||||
{ 21, 18, 18, 1, 5, 0, ZSTD_dfast }, /* level 4 */
|
||||
{ 21, 18, 19, 3, 5, 2, ZSTD_greedy }, /* level 5 */
|
||||
{ 21, 18, 19, 3, 5, 4, ZSTD_lazy }, /* level 6 */
|
||||
{ 21, 18, 19, 2, 5, 2, ZSTD_lazy }, /* level 6 */
|
||||
{ 21, 19, 20, 4, 5, 8, ZSTD_lazy }, /* level 7 */
|
||||
{ 21, 19, 20, 4, 5, 16, ZSTD_lazy2 }, /* level 8 */
|
||||
{ 22, 20, 21, 4, 5, 16, ZSTD_lazy2 }, /* level 9 */
|
||||
|
|
@ -57,7 +57,7 @@ static const ZSTD_compressionParameters ZSTD_defaultCParameters[4][ZSTD_MAX_CLEV
|
|||
{ 18, 16, 16, 1, 4, 0, ZSTD_dfast }, /* level 3 */
|
||||
{ 18, 16, 17, 3, 5, 2, ZSTD_greedy }, /* level 4.*/
|
||||
{ 18, 17, 18, 5, 5, 2, ZSTD_greedy }, /* level 5.*/
|
||||
{ 18, 18, 19, 3, 5, 4, ZSTD_lazy }, /* level 6.*/
|
||||
{ 18, 18, 19, 3, 5, 3, ZSTD_lazy }, /* level 6.*/
|
||||
{ 18, 18, 19, 4, 4, 4, ZSTD_lazy }, /* level 7 */
|
||||
{ 18, 18, 19, 4, 4, 8, ZSTD_lazy2 }, /* level 8 */
|
||||
{ 18, 18, 19, 5, 4, 8, ZSTD_lazy2 }, /* level 9 */
|
||||
|
|
|
|||
|
|
@ -227,7 +227,7 @@ level 6, file files/g10000-P90
|
|||
level 6, file files/g100000
|
||||
350a0f07d7ddbcd0c629da0bcf734f02
|
||||
level 6, file files/g1000000
|
||||
d40c700beee149ab272b94c7ef0f3811
|
||||
6046876a9c90abf183575ec2fa51ea84
|
||||
level 6, file files/g20000
|
||||
335bc3f5767a7d4ad479408b0e289459
|
||||
level 6, file files/g200000
|
||||
|
|
@ -237,7 +237,7 @@ a4b9fed2e1005298617125ee3b00cb06
|
|||
level 6, file files/g50000
|
||||
d7b3dab8d19fb992795c440d5f953c94
|
||||
level 6, file files/g500000
|
||||
44e59ccbf7a9794d4ea03f3f59f61ffd
|
||||
a4028c1659d9155e6b5c86caaf28e507
|
||||
level 7, file files/g0
|
||||
5d80401e01d33084c65e94f93351e94c
|
||||
level 7, file files/g1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue