1
0
mirror of https://github.com/facebook/zstd.git synced 2025-03-07 01:10:04 +02:00

Merge pull request #4094 from RubenKelevra/patchfrom_singlethread_man_update

clarify when to use '--single-thread' with '--patch-from'
This commit is contained in:
Yann Collet 2024-07-29 09:34:55 -07:00 committed by GitHub
commit 43b713a2ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -174,8 +174,10 @@ the last one takes effect.
(_fileLog_ being the _windowLog_ required to cover the whole file). You
can also manually force it.
Note: for all levels, you can use `--patch-from` in `--single-thread` mode
to improve compression ratio at the cost of speed.
Note: up to level 15, you can use `--patch-from` in `--single-thread` mode
to improve compression ratio marginally at the cost of speed. Using
'--single-thread' above level 15 will lead to lower compression
ratios.
Note: for level 19, you can get increased compression ratio at the cost
of speed by specifying `--zstd=targetLength=` to be something large