From 09894dc2ebd9c33ac87bf20f658fb82da09a2479 Mon Sep 17 00:00:00 2001 From: Nick Magerko Date: Mon, 19 Aug 2019 13:08:41 -0700 Subject: [PATCH] Add mention of regression with poor size hints --- lib/zstd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/zstd.h b/lib/zstd.h index ee7871f12..0fbe71ab8 100644 --- a/lib/zstd.h +++ b/lib/zstd.h @@ -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() : -- 2.47.3