From: Yann Collet Date: Fri, 14 Sep 2018 23:06:35 +0000 (-0700) Subject: minor code comment update X-Git-Tag: v0.0.29~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7269fe6cd356d4006fe2dd9581aecf265d8f56c9;p=thirdparty%2Fzstd.git minor code comment update --- diff --git a/doc/zstd_manual.html b/doc/zstd_manual.html index 5b9f07960..cdfeb7094 100644 --- a/doc/zstd_manual.html +++ b/doc/zstd_manual.html @@ -43,9 +43,8 @@ The library supports regular compression levels from 1 up to ZSTD_maxCLevel(), which is currently 22. Levels >= 20, labeled `--ultra`, should be used with caution, as they require more memory. The library also offers negative - compression levels (all negative integers are valid levels), which extend the - range of speed vs. ratio preferences to increasingly extremely strongly - prioritize speed. + compression levels, which extend the range of speed vs. ratio preferences. + The lower the level, the faster the speed (at the cost of compression). Compression can be done in: - a single step (described as Simple API) diff --git a/lib/zstd.h b/lib/zstd.h index 72fc3590b..ac6f918a7 100644 --- a/lib/zstd.h +++ b/lib/zstd.h @@ -46,9 +46,8 @@ extern "C" { The library supports regular compression levels from 1 up to ZSTD_maxCLevel(), which is currently 22. Levels >= 20, labeled `--ultra`, should be used with caution, as they require more memory. The library also offers negative - compression levels (all negative integers are valid levels), which extend the - range of speed vs. ratio preferences to increasingly extremely strongly - prioritize speed. + compression levels, which extend the range of speed vs. ratio preferences. + The lower the level, the faster the speed (at the cost of compression). Compression can be done in: - a single step (described as Simple API)