]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
4 years agoReset all decompression parameters in ZSTD_DCtx_reset() 2333/head
Nick Terrell [Tue, 29 Sep 2020 23:25:03 +0000 (16:25 -0700)] 
Reset all decompression parameters in ZSTD_DCtx_reset()

* Reset all decompression parameters in `ZSTD_DCtx_reset()` when
  resetting parameters.
* Add a test case.

4 years agoMerge pull request #2326 from terrelln/kernel-test-fix
Nick Terrell [Tue, 29 Sep 2020 20:51:23 +0000 (13:51 -0700)] 
Merge pull request #2326 from terrelln/kernel-test-fix

Fix issues and warnings exposed by Kernel Test Robot

4 years agoMerge pull request #2310 from senhuang42/fix_multifile_status_bar
Yann Collet [Fri, 25 Sep 2020 14:48:33 +0000 (07:48 -0700)] 
Merge pull request #2310 from senhuang42/fix_multifile_status_bar

Fix multifile status bar and summary - clear out extraneous characters

4 years ago[superblock] Reduce stack usage by correctly sizing header buffers 2326/head
Nick Terrell [Fri, 25 Sep 2020 01:04:44 +0000 (18:04 -0700)] 
[superblock] Reduce stack usage by correctly sizing header buffers

4 years ago[lib] Add ZSTD_COMPRESS_HEAPMODE tuning parameter
Nick Terrell [Fri, 25 Sep 2020 00:52:16 +0000 (17:52 -0700)] 
[lib] Add ZSTD_COMPRESS_HEAPMODE tuning parameter

4 years ago[freestanding] Improve macro resolution to handle #if X
Nick Terrell [Thu, 24 Sep 2020 23:25:58 +0000 (16:25 -0700)] 
[freestanding] Improve macro resolution to handle #if X

4 years agoAllow user to override ASAN/MSAN detection
Nick Terrell [Thu, 24 Sep 2020 23:04:21 +0000 (16:04 -0700)] 
Allow user to override ASAN/MSAN detection

Rename ADDRESS_SANITIZER -> ZSTD_ADDRESS_SANITIZER and same for
MEMORY_SANITIZER. Also set it to 0/1 instead of checking for defined.
This allows the user to override ASAN/MSAN detection for platforms that
don't support it.

4 years agoRemove call to memset
Nick Terrell [Thu, 24 Sep 2020 23:03:28 +0000 (16:03 -0700)] 
Remove call to memset

The previous commit fixes the test so it errors on calls to mem*()
functions from <string.h>.

4 years ago[linux-kernel] Avoid including <string.h> in the tests
Nick Terrell [Thu, 24 Sep 2020 22:22:34 +0000 (15:22 -0700)] 
[linux-kernel] Avoid including <string.h> in the tests

4 years agoReorganize zstd_deps.h and mem.h + replace mem.h for the kernel
Nick Terrell [Thu, 24 Sep 2020 21:22:56 +0000 (14:22 -0700)] 
Reorganize zstd_deps.h and mem.h + replace mem.h for the kernel

4 years agoMove __has_builtin() fallback define to compiler.h
Nick Terrell [Thu, 24 Sep 2020 22:45:08 +0000 (15:45 -0700)] 
Move __has_builtin() fallback define to compiler.h

4 years agoMove ASAN/MSAN support declarations to compiler.h
Nick Terrell [Thu, 24 Sep 2020 21:14:32 +0000 (14:14 -0700)] 
Move ASAN/MSAN support declarations to compiler.h

4 years agoRemove MEM_STATIC_ASSERT and use DEBUG_STATIC_ASSERT instead
Nick Terrell [Thu, 24 Sep 2020 21:13:16 +0000 (14:13 -0700)] 
Remove MEM_STATIC_ASSERT and use DEBUG_STATIC_ASSERT instead

4 years agoMerge pull request #2315 from senhuang42/allow_zstd_suffix
Yann Collet [Thu, 24 Sep 2020 16:44:48 +0000 (09:44 -0700)] 
Merge pull request #2315 from senhuang42/allow_zstd_suffix

Support .zstd suffix only for decompression

4 years ago[linux-kernel] Add missing semicolon in zstd_deps.h
Nick Terrell [Thu, 24 Sep 2020 03:36:47 +0000 (20:36 -0700)] 
[linux-kernel] Add missing semicolon in zstd_deps.h

4 years ago[lib] Wrap customMem xor checks in parens for readability
Nick Terrell [Thu, 24 Sep 2020 03:34:44 +0000 (20:34 -0700)] 
[lib] Wrap customMem xor checks in parens for readability

This clarifies operator precedence, and quiets cppcheck in
the Kernel Test Robot. I think this is a slight bonus to
readability, so I am accepting the suggestion.

4 years agoMerge pull request #2324 from terrelln/kernel-test-fix
Nick Terrell [Wed, 23 Sep 2020 22:01:56 +0000 (15:01 -0700)] 
Merge pull request #2324 from terrelln/kernel-test-fix

Silence warnings reported by Kernel Test Robot

4 years ago[CI][linux-kernel] Enable -Wunused-const-variable and -Wunused-but-set-variable 2324/head
Nick Terrell [Wed, 23 Sep 2020 19:59:23 +0000 (12:59 -0700)] 
[CI][linux-kernel] Enable -Wunused-const-variable and -Wunused-but-set-variable

4 years ago[lib] Silence -Wunused-const-variable warnings
Nick Terrell [Wed, 23 Sep 2020 19:58:38 +0000 (12:58 -0700)] 
[lib] Silence -Wunused-const-variable warnings

4 years ago[linux-kernel] Fix unused variable warnings with malloc, calloc, and free
Nick Terrell [Wed, 23 Sep 2020 19:54:10 +0000 (12:54 -0700)] 
[linux-kernel] Fix unused variable warnings with malloc, calloc, and free

4 years agoMerge pull request #2320 from terrelln/test-fix
Nick Terrell [Tue, 22 Sep 2020 17:58:48 +0000 (10:58 -0700)] 
Merge pull request #2320 from terrelln/test-fix

[tests] Don't write to stdout

4 years ago[tests] Don't write to stdout 2320/head
Nick Terrell [Tue, 22 Sep 2020 07:40:27 +0000 (00:40 -0700)] 
[tests] Don't write to stdout

4 years agoMerge pull request #2311 from felixhandte/ddss-fix-cparam-derivation
Felix Handte [Fri, 18 Sep 2020 18:02:14 +0000 (14:02 -0400)] 
Merge pull request #2311 from felixhandte/ddss-fix-cparam-derivation

Fix Compression Parameter Derivation Bugs Introduced by DDSS Changes

4 years agoAdd -f to .zstd decompression CLI test 2315/head
senhuang42 [Fri, 18 Sep 2020 17:01:45 +0000 (13:01 -0400)] 
Add -f to .zstd decompression CLI test

4 years agoSupport .zstd suffix only for decompression
senhuang42 [Fri, 18 Sep 2020 16:49:51 +0000 (12:49 -0400)] 
Support .zstd suffix only for decompression

4 years agoMerge pull request #2313 from felixhandte/fuzzer-separate-long-tests
Felix Handte [Fri, 18 Sep 2020 16:03:00 +0000 (12:03 -0400)] 
Merge pull request #2313 from felixhandte/fuzzer-separate-long-tests

Separate Long Tests in Fuzzer

4 years agoRun Long Tests in GitHub CI 2313/head
W. Felix Handte [Thu, 17 Sep 2020 17:28:20 +0000 (13:28 -0400)] 
Run Long Tests in GitHub CI

4 years agoMove Last Two Long Tests in fuzzer.c into Separate --long-tests Section
W. Felix Handte [Thu, 17 Sep 2020 16:57:39 +0000 (12:57 -0400)] 
Move Last Two Long Tests in fuzzer.c into Separate --long-tests Section

4 years agoUpdate Regression Test Results 2311/head
W. Felix Handte [Thu, 17 Sep 2020 16:23:05 +0000 (12:23 -0400)] 
Update Regression Test Results

4 years agoUse ZSTD_CCtxParams_init() to Init CCtxParams, not memset()
W. Felix Handte [Thu, 17 Sep 2020 16:15:33 +0000 (12:15 -0400)] 
Use ZSTD_CCtxParams_init() to Init CCtxParams, not memset()

Even if the discrepancies are at the moment benign, it's probably better to
standardize on using the one true initializer, rather than trying (and failing)
to correctly duplicate its behavior.

4 years agoAvoid Redundancy in ZSTD_initCDict_internal() Args; Don't Take CParams + CCtxParams
W. Felix Handte [Thu, 17 Sep 2020 16:08:36 +0000 (12:08 -0400)] 
Avoid Redundancy in ZSTD_initCDict_internal() Args; Don't Take CParams + CCtxParams

4 years agoFix multifile decompression summary 2310/head
senhuang42 [Wed, 16 Sep 2020 14:38:13 +0000 (10:38 -0400)] 
Fix multifile decompression summary

4 years agoAdd filename truncations to decompression
senhuang42 [Wed, 16 Sep 2020 14:28:45 +0000 (10:28 -0400)] 
Add filename truncations to decompression

4 years agoFall Back if Derived CParams are Incompatible with DDSS; Refactor CDict Creation
W. Felix Handte [Tue, 15 Sep 2020 18:06:58 +0000 (14:06 -0400)] 
Fall Back if Derived CParams are Incompatible with DDSS; Refactor CDict Creation

Rewrite ZSTD_createCDict_advanced() as a wrapper around
ZSTD_createCDict_advanced2(). Evaluate whether to use DDSS mode *after* fully
resolving cparams. If not, fall back.

4 years agoAdd display clears
senhuang42 [Tue, 15 Sep 2020 19:53:32 +0000 (15:53 -0400)] 
Add display clears

4 years agoMake ZSTD_createCDict_advanced2() cctxParams Arg Const
W. Felix Handte [Tue, 15 Sep 2020 18:06:10 +0000 (14:06 -0400)] 
Make ZSTD_createCDict_advanced2() cctxParams Arg Const

4 years agoDo More Complete CParams Deduction in Non-DDSS Path of ZSTD_createCDict_advanced2
W. Felix Handte [Tue, 15 Sep 2020 17:57:43 +0000 (13:57 -0400)] 
Do More Complete CParams Deduction in Non-DDSS Path of ZSTD_createCDict_advanced2

Call ZSTD_getCParamsFromCCtxParams() instead of ZSTD_getCParams_internal().

4 years agoPull CParam Override Logic into Helper
W. Felix Handte [Tue, 15 Sep 2020 17:38:05 +0000 (13:38 -0400)] 
Pull CParam Override Logic into Helper

4 years agoAdd padding to remove previous line's leftovers, and keep the printed line to around...
senhuang42 [Tue, 15 Sep 2020 17:01:46 +0000 (13:01 -0400)] 
Add padding to remove previous line's leftovers, and keep the printed line to around the same size

4 years agoMerge pull request #2308 from terrelln/zstd-kernel
Nick Terrell [Mon, 14 Sep 2020 21:56:30 +0000 (14:56 -0700)] 
Merge pull request #2308 from terrelln/zstd-kernel

[contrib][linux-kernel] Add decompress_sources.h

4 years agoMerge pull request #2292 from senhuang42/multifile_status_update_fio_refactor
Yann Collet [Mon, 14 Sep 2020 21:06:26 +0000 (14:06 -0700)] 
Merge pull request #2292 from senhuang42/multifile_status_update_fio_refactor

Make multifile (de)compression print out a summary

4 years agoMerge pull request #2299 from senhuang42/env_var_num_threads
Yann Collet [Mon, 14 Sep 2020 21:04:19 +0000 (14:04 -0700)] 
Merge pull request #2299 from senhuang42/env_var_num_threads

Allow environment variable to specify number of threads for compression

4 years agoMerge pull request #2306 from facebook/check_endDirective
Yann Collet [Mon, 14 Sep 2020 20:57:55 +0000 (13:57 -0700)] 
Merge pull request #2306 from facebook/check_endDirective

check endDirective in ZSTD_compressStream2()

4 years ago[contrib][linux-kernel] Add decompress_sources.h 2308/head
Nick Terrell [Mon, 14 Sep 2020 19:45:24 +0000 (12:45 -0700)] 
[contrib][linux-kernel] Add decompress_sources.h

Add decompress_sources.h, which includes all the decompression .c files.
This is used for kernel decompression.

Also, add a test which checks that including decompress_sources.h works.

4 years agominor fix casting for Visual 2306/head
Yann Collet [Mon, 14 Sep 2020 18:46:23 +0000 (11:46 -0700)] 
minor fix casting for Visual

4 years agocheck endDirective in ZSTD_compressStream2()
Yann Collet [Mon, 14 Sep 2020 17:56:08 +0000 (10:56 -0700)] 
check endDirective in ZSTD_compressStream2()

fix #2297
also :
- `assert()` `endDirective` in `ZSTD_compressStream_internal()`, for debug mode
- add relevant tests

4 years agoMerge pull request #2295 from felixhandte/dedicated-dict-search-structure-chain
Felix Handte [Fri, 11 Sep 2020 05:39:23 +0000 (01:39 -0400)] 
Merge pull request #2295 from felixhandte/dedicated-dict-search-structure-chain

DDSS for Lazy: Implement a Dedicated Dictionary Chain Table

4 years agoPrint More During Fuzzer Test to Avoid CI Killing it Due to Timeout 2295/head
W. Felix Handte [Fri, 11 Sep 2020 03:35:42 +0000 (23:35 -0400)] 
Print More During Fuzzer Test to Avoid CI Killing it Due to Timeout

This is kind of hacky. And maybe this test doesn't need to be permanently as
exhaustive as it is now. But while we're actively developing the DDSS, we
should ensure it's compatible across many different modes.

4 years agoTest Fewer Dictionary Sizes
W. Felix Handte [Fri, 11 Sep 2020 02:29:19 +0000 (22:29 -0400)] 
Test Fewer Dictionary Sizes

4 years agoFix Debug Logging in 32-bit Build
W. Felix Handte [Thu, 10 Sep 2020 23:19:39 +0000 (19:19 -0400)] 
Fix Debug Logging in 32-bit Build

4 years agoDocument searchFuncs Table
W. Felix Handte [Thu, 10 Sep 2020 22:22:49 +0000 (18:22 -0400)] 
Document searchFuncs Table

4 years agoFurther Consolidate Dict Mode Checks
W. Felix Handte [Thu, 10 Sep 2020 22:18:50 +0000 (18:18 -0400)] 
Further Consolidate Dict Mode Checks

4 years agoImprove Documentation Slightly
W. Felix Handte [Thu, 10 Sep 2020 20:36:28 +0000 (16:36 -0400)] 
Improve Documentation Slightly

4 years agoMake DDSS Selection Override ForceCopy Directive
W. Felix Handte [Thu, 10 Sep 2020 15:33:12 +0000 (11:33 -0400)] 
Make DDSS Selection Override ForceCopy Directive

4 years agoTest DDSS A Little More Thoroughly
W. Felix Handte [Thu, 10 Sep 2020 15:32:16 +0000 (11:32 -0400)] 
Test DDSS A Little More Thoroughly

4 years agoAttempt to Fix MSVC Warnings
W. Felix Handte [Tue, 8 Sep 2020 21:39:37 +0000 (17:39 -0400)] 
Attempt to Fix MSVC Warnings

4 years agoSimplify Match Limit Checks
W. Felix Handte [Fri, 4 Sep 2020 04:31:00 +0000 (00:31 -0400)] 
Simplify Match Limit Checks

Seems like a ~1.25% speedup.

4 years agoUse All Available Space in the Hash Table to Extent Chain Table Reach
W. Felix Handte [Fri, 4 Sep 2020 04:11:44 +0000 (00:11 -0400)] 
Use All Available Space in the Hash Table to Extent Chain Table Reach

Rather than restrict our temp chain table to 2 ** chainLog entries, this
commit uses all available space to reach further back to gather longer
chains to pack into the DDSS chain table.

4 years agoRewrite Table Fill to Retain Cache Entries Beyond Chain Window
W. Felix Handte [Thu, 3 Sep 2020 23:45:24 +0000 (19:45 -0400)] 
Rewrite Table Fill to Retain Cache Entries Beyond Chain Window

4 years agoAvoid Malloc in Table Fill; Pack Tmp Structure into Hash Table
W. Felix Handte [Thu, 3 Sep 2020 21:29:44 +0000 (17:29 -0400)] 
Avoid Malloc in Table Fill; Pack Tmp Structure into Hash Table

4 years agoTruncate Chain at Last Possible Attempt
W. Felix Handte [Thu, 3 Sep 2020 17:58:11 +0000 (13:58 -0400)] 
Truncate Chain at Last Possible Attempt

Make the chain table denser?

4 years agoPrefetch Chain Table Matches
W. Felix Handte [Thu, 3 Sep 2020 17:34:38 +0000 (13:34 -0400)] 
Prefetch Chain Table Matches

4 years agoLay Out Chain Table Chains Contiguously
W. Felix Handte [Thu, 3 Sep 2020 16:55:40 +0000 (12:55 -0400)] 
Lay Out Chain Table Chains Contiguously

Rather than interleave all of the chain table entries, tying each entry's
position to the corresponding position in the input, this commit changes the
layout so that all the entries in a single chain are laid out next to each
other. The last entry in the hash table's bucket for this hash is now a packed
pointer of position + length of this chain.

This cannot be merged as written, since it allocates temporary memory inside
ZSTD_dedicatedDictSearch_lazy_loadDictionary().

4 years agoOnly Insert Positions Inside the Chain Window
W. Felix Handte [Wed, 2 Sep 2020 21:29:46 +0000 (17:29 -0400)] 
Only Insert Positions Inside the Chain Window

4 years agoOnly Allow Dedicated Dict Search for Dicts Loaded in 1 Chunk
W. Felix Handte [Wed, 2 Sep 2020 21:15:31 +0000 (17:15 -0400)] 
Only Allow Dedicated Dict Search for Dicts Loaded in 1 Chunk

The load algorithm requires we do it all in one go.

4 years agoMerge pull request #2276 from felixhandte/dedicated-dict-search-structure
Felix Handte [Fri, 11 Sep 2020 02:09:25 +0000 (22:09 -0400)] 
Merge pull request #2276 from felixhandte/dedicated-dict-search-structure

DDSS For Lazy: Implement a Dedicated Dictionary Hash Table

4 years agoFix Bug: Only Use DDSS Insertion on CDict MatchStates 2276/head
W. Felix Handte [Fri, 4 Sep 2020 16:16:35 +0000 (12:16 -0400)] 
Fix Bug: Only Use DDSS Insertion on CDict MatchStates

Previously, if DDSS was enabled on a CCtx and a dictionary was inserted into
the CCtx, the CCtx MatchState would be filled as a DDSS struct, causing
segfaults etc. This changes the check to use whether the MatchState is marked
as using the DDSS (which is only ever set for CDict MatchStates), rather than
looking at the CCtxParams.

4 years agoShorten Dict Mode Conditionals in Order to Improve Readability
W. Felix Handte [Wed, 2 Sep 2020 17:27:11 +0000 (13:27 -0400)] 
Shorten Dict Mode Conditionals in Order to Improve Readability

4 years agoForce-Inline ZSTD_insertAndFindFirstIndex_internal()
W. Felix Handte [Wed, 2 Sep 2020 16:40:42 +0000 (12:40 -0400)] 
Force-Inline ZSTD_insertAndFindFirstIndex_internal()

Without this, gcc was declining to inline the function in `ZSTD_noDict` mode,
resulting in a ~10% slowdown.

4 years agoClean Up Search Function Selection
W. Felix Handte [Wed, 2 Sep 2020 16:40:25 +0000 (12:40 -0400)] 
Clean Up Search Function Selection

4 years agoFix `-Wshorten-64-to-32` Error
W. Felix Handte [Fri, 28 Aug 2020 18:14:29 +0000 (14:14 -0400)] 
Fix `-Wshorten-64-to-32` Error

4 years agoAdjust Working Context Table Sizes Back Down
W. Felix Handte [Fri, 28 Aug 2020 16:38:50 +0000 (12:38 -0400)] 
Adjust Working Context Table Sizes Back Down

4 years agoAdd Warning Comment to ZSTD_createCDict_advanced2() Declaration
W. Felix Handte [Fri, 28 Aug 2020 16:31:01 +0000 (12:31 -0400)] 
Add Warning Comment to ZSTD_createCDict_advanced2() Declaration

4 years agoPermit Matching Against Lowest Valid Position
W. Felix Handte [Wed, 26 Aug 2020 22:33:44 +0000 (18:33 -0400)] 
Permit Matching Against Lowest Valid Position

This comparison was previously faulty: the lowest valid position is itself
valid, and we should therefore be allowed to match against it.

4 years agoMake ZSTD_dedicatedDictSearch_getCParams Wrap ZSTD_getCParams
W. Felix Handte [Wed, 26 Aug 2020 20:33:13 +0000 (16:33 -0400)] 
Make ZSTD_dedicatedDictSearch_getCParams Wrap ZSTD_getCParams

Fixes up bounds-checking, and lets us clean up what is at the moment an
unnecessary duplication of the default cparams tables.

4 years agoEasy: Fix Test
W. Felix Handte [Fri, 21 Aug 2020 21:00:26 +0000 (17:00 -0400)] 
Easy: Fix Test

4 years agoRemove Chain Limit on Hash Cache Entries; Slightly Improve Compression
W. Felix Handte [Thu, 20 Aug 2020 21:17:10 +0000 (17:17 -0400)] 
Remove Chain Limit on Hash Cache Entries; Slightly Improve Compression

Entries in the hashTable chain cache aren't subject to the same aliasing that
the circular chain table is subject to. As such, we don't need to stop when we
cross the chain limit. We can delve deeper. :)

4 years agoSplit Lookups in Hash Cache and Chain Table into Two Loops
W. Felix Handte [Thu, 20 Aug 2020 16:31:25 +0000 (12:31 -0400)] 
Split Lookups in Hash Cache and Chain Table into Two Loops

Sliiiight speedup.

4 years agoSimplify DDS Hash Table Construction
W. Felix Handte [Thu, 20 Aug 2020 15:40:47 +0000 (11:40 -0400)] 
Simplify DDS Hash Table Construction

No need to walk the chainTable; we can just keep shifting the entries in the
hashTable.

4 years agoDocument the ZSTD_c_enableDedicatedDictSearch Parameter
W. Felix Handte [Tue, 18 Aug 2020 20:58:11 +0000 (16:58 -0400)] 
Document the ZSTD_c_enableDedicatedDictSearch Parameter

4 years agoRename and Move DD_BLOG Constant to ZSTD_LAZY_DDSS_BUCKET_LOG
W. Felix Handte [Tue, 18 Aug 2020 19:20:12 +0000 (15:20 -0400)] 
Rename and Move DD_BLOG Constant to ZSTD_LAZY_DDSS_BUCKET_LOG

4 years agoPrefetch First Batch of Match Positions; +11% Speed in Level 5 w/ 1 Dict
W. Felix Handte [Tue, 18 Aug 2020 17:30:41 +0000 (13:30 -0400)] 
Prefetch First Batch of Match Positions; +11% Speed in Level 5 w/ 1 Dict

4 years agoFix Off-By-One Error in Counting DDS Search Attempts
W. Felix Handte [Mon, 17 Aug 2020 21:43:01 +0000 (17:43 -0400)] 
Fix Off-By-One Error in Counting DDS Search Attempts

This caused us to double-search the first position and fail to search the
last position in the chain, slowing down search and making it less effective.

4 years agoEnable Dedicated Dict Search in the CLI
W. Felix Handte [Mon, 17 Aug 2020 16:37:58 +0000 (12:37 -0400)] 
Enable Dedicated Dict Search in the CLI

4 years agoInit CCtx's Local Dict with CCtxParams
W. Felix Handte [Mon, 17 Aug 2020 16:35:50 +0000 (12:35 -0400)] 
Init CCtx's Local Dict with CCtxParams

4 years agoDecision for Whether to Attach Should be Based on CDict Config, not CCtx
W. Felix Handte [Thu, 13 Aug 2020 20:52:07 +0000 (16:52 -0400)] 
Decision for Whether to Attach Should be Based on CDict Config, not CCtx

4 years agoMove Prefetch Before Insertion; Speed Up ~6%
W. Felix Handte [Thu, 13 Aug 2020 18:54:10 +0000 (14:54 -0400)] 
Move Prefetch Before Insertion; Speed Up ~6%

4 years agoMisc Refactor of DDS Search Code
W. Felix Handte [Thu, 13 Aug 2020 15:57:31 +0000 (11:57 -0400)] 
Misc Refactor of DDS Search Code

4 years agoRename enableDedicatedDictSearch to dedicatedDictSearch in MatchState
W. Felix Handte [Wed, 12 Aug 2020 20:50:44 +0000 (16:50 -0400)] 
Rename enableDedicatedDictSearch to dedicatedDictSearch in MatchState

This makes it clear that not only is the feature allowed here, we're actually
using it, as opposed to the CCtxParam field, in which it's enabled, but we may
or may not be using it.

4 years agoAlways Init CDict's enableDedicatedDictSearch Field
W. Felix Handte [Tue, 11 Aug 2020 22:57:12 +0000 (18:57 -0400)] 
Always Init CDict's enableDedicatedDictSearch Field

4 years agoAdd a ZSTD_dedicatedDictSearch ZSTD_dictMode_e to Allow Const Propagation
W. Felix Handte [Tue, 11 Aug 2020 22:48:22 +0000 (18:48 -0400)] 
Add a ZSTD_dedicatedDictSearch ZSTD_dictMode_e to Allow Const Propagation

Speed +1.5%.

4 years agoFix ZSTD_c_forceAttachDict Bounds
W. Felix Handte [Tue, 11 Aug 2020 22:24:11 +0000 (18:24 -0400)] 
Fix ZSTD_c_forceAttachDict Bounds

4 years agoMake ZSTD_c_enableDedicatedDictSearch an Experimental Param
W. Felix Handte [Tue, 11 Aug 2020 22:03:38 +0000 (18:03 -0400)] 
Make ZSTD_c_enableDedicatedDictSearch an Experimental Param

4 years agoAdd Fuzzer Test for the Various Dict Attachment Strategies
W. Felix Handte [Tue, 11 Aug 2020 19:29:12 +0000 (15:29 -0400)] 
Add Fuzzer Test for the Various Dict Attachment Strategies

4 years agoTODO: Comment
W. Felix Handte [Fri, 7 Aug 2020 20:41:16 +0000 (16:41 -0400)] 
TODO: Comment

4 years agoFix Compilation Warnings
W. Felix Handte [Fri, 7 Aug 2020 16:02:18 +0000 (12:02 -0400)] 
Fix Compilation Warnings

4 years agoupdating cold benchmark
Bimba Shrestha [Fri, 12 Jun 2020 15:53:58 +0000 (08:53 -0700)] 
updating cold benchmark

4 years agocreating ZSTD_createCDict_advanced_internal
Bimba Shrestha [Fri, 12 Jun 2020 15:01:18 +0000 (08:01 -0700)] 
creating ZSTD_createCDict_advanced_internal

4 years agochanging to int for consistency
Bimba Shrestha [Fri, 12 Jun 2020 05:57:53 +0000 (22:57 -0700)] 
changing to int for consistency

4 years agousing dict mls instead of src mls
Bimba Shrestha [Fri, 12 Jun 2020 05:55:32 +0000 (22:55 -0700)] 
using dict mls instead of src mls