From cc1ffe0bd6561128f39cc6c673aa75c91a925b68 Mon Sep 17 00:00:00 2001 From: "W. Felix Handte" Date: Thu, 4 May 2023 12:20:02 -0400 Subject: [PATCH] Add Documentation to lib/README.md --- lib/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/README.md b/lib/README.md index c3b5d1817..2da16647a 100644 --- a/lib/README.md +++ b/lib/README.md @@ -119,6 +119,12 @@ The file structure is designed to make this selection manually achievable for an binary is achieved by using `HUF_FORCE_DECOMPRESS_X1` and `ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT` (implied by `ZSTD_LIB_MINIFY`). + On the compressor side, Zstd's compression levels map to several internal + strategies. In environments where the higher compression levels aren't used, + it is possible to exclude all but the fastest strategy with + `ZSTD_LIB_EXCLUDE_COMPRESSORS_DFAST_AND_UP=1`. (Note that this will change + the behavior of the default compression level.) + For squeezing the last ounce of size out, you can also define `ZSTD_NO_INLINE`, which disables inlining, and `ZSTD_STRIP_ERROR_STRINGS`, which removes the error messages that are otherwise returned by -- 2.47.2