Skip to content

Commit cc1ffe0

Browse files
committed
Add Documentation to lib/README.md
1 parent eb92279 commit cc1ffe0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ The file structure is designed to make this selection manually achievable for an
119119
binary is achieved by using `HUF_FORCE_DECOMPRESS_X1` and
120120
`ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT` (implied by `ZSTD_LIB_MINIFY`).
121121

122+
On the compressor side, Zstd's compression levels map to several internal
123+
strategies. In environments where the higher compression levels aren't used,
124+
it is possible to exclude all but the fastest strategy with
125+
`ZSTD_LIB_EXCLUDE_COMPRESSORS_DFAST_AND_UP=1`. (Note that this will change
126+
the behavior of the default compression level.)
127+
122128
For squeezing the last ounce of size out, you can also define
123129
`ZSTD_NO_INLINE`, which disables inlining, and `ZSTD_STRIP_ERROR_STRINGS`,
124130
which removes the error messages that are otherwise returned by

0 commit comments

Comments
 (0)