]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add mention of regression with poor size hints
authorNick Magerko <nmagerko@fb.com>
Mon, 19 Aug 2019 20:08:41 +0000 (13:08 -0700)
committerNick Magerko <nmagerko@fb.com>
Mon, 19 Aug 2019 20:41:36 +0000 (13:41 -0700)
lib/zstd.h

index ee7871f12d70a4b8f4dd6eb107fa1b06f5e32a9c..0fbe71ab8d69dbadaed97dc967af92af54c846af 100644 (file)
@@ -1447,7 +1447,8 @@ ZSTDLIB_API size_t ZSTD_CCtx_refPrefix_advanced(ZSTD_CCtx* cctx, const void* pre
 
 /* User's best guess of source size.
  * Hint is not valid when srcSizeHint == 0.
- * There is no guarantee that hint is close to actual source size */
+ * There is no guarantee that hint is close to actual source size,
+ * but compression ratio may regress significantly if guess considerably underestimates */
 #define ZSTD_c_srcSizeHint ZSTD_c_experimentalParam7
 
 /*! ZSTD_CCtx_getParameter() :