diff options
author | Yann Collet <cyan@fb.com> | 2017-11-03 17:30:52 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2017-11-03 17:30:52 (GMT) |
commit | c9bbad53ffda4a4f4595e3a2b6e3994710ee2324 (patch) | |
tree | faf163794a307b0d66585d072f3ced76dcb533f4 /lib/lz4hc.h | |
parent | e2eca62046e500a95ab34e913e939aa68acb2cd4 (diff) | |
download | lz4-c9bbad53ffda4a4f4595e3a2b6e3994710ee2324.zip lz4-c9bbad53ffda4a4f4595e3a2b6e3994710ee2324.tar.gz lz4-c9bbad53ffda4a4f4595e3a2b6e3994710ee2324.tar.bz2 |
removed ctx->searchNum
nbSearches now transmitted directly as function parameter
easier to track and debug
Diffstat (limited to 'lib/lz4hc.h')
-rw-r--r-- | lib/lz4hc.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/lz4hc.h b/lib/lz4hc.h index 4fbe91e..13a0179 100644 --- a/lib/lz4hc.h +++ b/lib/lz4hc.h @@ -152,8 +152,7 @@ typedef struct uint32_t dictLimit; /* below that point, need extDict */ uint32_t lowLimit; /* below that point, no more dict */ uint32_t nextToUpdate; /* index from which to continue dictionary update */ - uint32_t searchNum; /* only for optimal parser */ - uint32_t compressionLevel; + int compressionLevel; } LZ4HC_CCtx_internal; #else @@ -169,7 +168,6 @@ typedef struct unsigned int dictLimit; /* below that point, need extDict */ unsigned int lowLimit; /* below that point, no more dict */ unsigned int nextToUpdate; /* index from which to continue dictionary update */ - unsigned int searchNum; /* only for optimal parser */ int compressionLevel; } LZ4HC_CCtx_internal; |