]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
4 years agoautomatic %.h header dependency tracking 2368/head
Yann Collet [Thu, 22 Oct 2020 00:25:07 +0000 (17:25 -0700)] 
automatic %.h header dependency tracking

also : BUILD_DIR can be manually specified

4 years agoconsolidated vpath
Yann Collet [Wed, 21 Oct 2020 11:01:01 +0000 (04:01 -0700)] 
consolidated vpath

4 years agostore %.o object files into obj/
Yann Collet [Wed, 21 Oct 2020 10:44:38 +0000 (03:44 -0700)] 
store %.o object files into obj/

both static and dynamic libraries have their own object directory

4 years agominor cleaning
Yann Collet [Wed, 21 Oct 2020 10:22:27 +0000 (03:22 -0700)] 
minor cleaning

4 years agobuild libzstd.so from object files
Yann Collet [Wed, 21 Oct 2020 05:19:57 +0000 (22:19 -0700)] 
build libzstd.so from object files

%.o object files generated for dynamic library
must be different from those generated for static library.

Due to this difference, %.o were so far only generated for the static library.
The dynamic library was rebuilt from %.c source.

This meant that, for every minor change, the entire dynamic library had to be rebuilt.

This is fixed in this PR :
only the modified %.c source get rebuilt.

4 years agoMerge pull request #2365 from senhuang42/move_opt_parser_test_to_long_tests
Nick Terrell [Tue, 20 Oct 2020 15:34:36 +0000 (11:34 -0400)] 
Merge pull request #2365 from senhuang42/move_opt_parser_test_to_long_tests

Move ldm + opt parser no regression test to long tests

4 years agoMove ldm no regression test to fuzzer longtests 2365/head
senhuang42 [Mon, 19 Oct 2020 19:27:40 +0000 (15:27 -0400)] 
Move ldm no regression test to fuzzer longtests

4 years agoMerge pull request #2359 from senhuang42/fuzz_makefile_cleanup
Nick Terrell [Fri, 16 Oct 2020 20:53:34 +0000 (13:53 -0700)] 
Merge pull request #2359 from senhuang42/fuzz_makefile_cleanup

[minor] Fix some /tests/fuzz Makefile annoyances

4 years agoMerge pull request #2355 from senhuang42/change_ldm_mt_config
Yann Collet [Fri, 16 Oct 2020 20:35:50 +0000 (13:35 -0700)] 
Merge pull request #2355 from senhuang42/change_ldm_mt_config

Reduce --long mode MT jobsize at higher levels

4 years agoMerge pull request #2357 from senhuang42/fix_ldm_nd_behavior
Yann Collet [Fri, 16 Oct 2020 20:35:28 +0000 (13:35 -0700)] 
Merge pull request #2357 from senhuang42/fix_ldm_nd_behavior

Fix nondeterministic LDM behavior in multithreading

4 years agoMerge pull request #2361 from senhuang42/fix_travis_minimal_decompressor_macros_test
Yann Collet [Thu, 15 Oct 2020 22:35:57 +0000 (15:35 -0700)] 
Merge pull request #2361 from senhuang42/fix_travis_minimal_decompressor_macros_test

[travis CI] Change make -j all check to make -j all && make check

4 years agoChange make -j all check to make -j all && make check 2361/head
senhuang42 [Thu, 15 Oct 2020 19:00:26 +0000 (15:00 -0400)] 
Change make -j all check to make -j all && make check

4 years agoMerge pull request #2360 from facebook/zwrap_parallel_build
Yann Collet [Thu, 15 Oct 2020 18:54:15 +0000 (11:54 -0700)] 
Merge pull request #2360 from facebook/zwrap_parallel_build

fix zwrapbench parallel build

4 years agofix zlibwrap parallel build 2360/head
Yann Collet [Thu, 15 Oct 2020 17:56:37 +0000 (10:56 -0700)] 
fix zlibwrap parallel build

previous recipe would build object files directly within programs/
which could be in competition with other local builds happening in programs/ at the same time.

fixed by generating the relevant object file locally.

4 years agoAdd libregression build target, also fix make clean and .gitignore 2359/head
senhuang42 [Thu, 15 Oct 2020 14:32:49 +0000 (10:32 -0400)] 
Add libregression build target, also fix make clean and .gitignore

4 years agoChange cycleLog adjustment to +3 from +4 2355/head
senhuang42 [Thu, 15 Oct 2020 13:56:05 +0000 (09:56 -0400)] 
Change cycleLog adjustment to +3 from +4

4 years agoClarify argument names, fix DEBUGLOG() statements 2357/head
senhuang42 [Wed, 14 Oct 2020 19:45:43 +0000 (15:45 -0400)] 
Clarify argument names, fix DEBUGLOG() statements

4 years agoAdjust match backwards count args
senhuang42 [Wed, 14 Oct 2020 19:23:03 +0000 (15:23 -0400)] 
Adjust match backwards count args

4 years agoIntroduce, implement, and call ZSTD_ldm_countBackwardsMatch_2segments()
senhuang42 [Mon, 12 Oct 2020 20:17:39 +0000 (16:17 -0400)] 
Introduce, implement, and call ZSTD_ldm_countBackwardsMatch_2segments()

4 years agoMerge branch 'dev' of github.com:senhuang42/zstd into change_ldm_mt_config
senhuang42 [Wed, 14 Oct 2020 14:17:50 +0000 (10:17 -0400)] 
Merge branch 'dev' of github.com:senhuang42/zstd into change_ldm_mt_config

4 years agoMerge pull request #2356 from bsdimp/neon
Nick Terrell [Tue, 13 Oct 2020 22:42:46 +0000 (15:42 -0700)] 
Merge pull request #2356 from bsdimp/neon

aarch64: use __ARM_NEON instead of __aarch64__ to control use of neon

4 years agoMerge pull request #2281 from likema/fix-aix-51
Yann Collet [Tue, 13 Oct 2020 20:09:33 +0000 (13:09 -0700)] 
Merge pull request #2281 from likema/fix-aix-51

Fix building on AIX 5.1

4 years agoMerge pull request #2341 from senhuang42/ldm_optimized_for_opt_parser
Yann Collet [Tue, 13 Oct 2020 20:09:07 +0000 (13:09 -0700)] 
Merge pull request #2341 from senhuang42/ldm_optimized_for_opt_parser

Integrate long distance matches into optimal parser

4 years agoaarch64: use __ARM_NEON instead of __aarch64__ to control use of neon 2356/head
Warner Losh [Tue, 13 Oct 2020 18:12:46 +0000 (12:12 -0600)] 
aarch64: use __ARM_NEON instead of __aarch64__ to control use of neon

There are compilation environments in aarch64 where NEON isn't
available. While these environments could define ZSTD_NO_INTRINSICS,
it's more fail-safe to use the more specific symbol to know if NEON
extensions are available.

__ARM_NEON is the proper symbol, defined in ARM C Language Extensions
Release 2.1 (https://developer.arm.com/documentation/ihi0053/d/). Some
sources suggest __ARM_NEON__, but that's the obsolete spelling from
prior versions of the standard.

Signed-off-by: Warner Losh <imp@bsdimp.com>
4 years agoFix incorrect usage of cycleLog() in --patch-from
senhuang42 [Tue, 13 Oct 2020 17:00:27 +0000 (13:00 -0400)] 
Fix incorrect usage of cycleLog() in --patch-from

4 years agoMerge pull request #2337 from terrelln/adjust-params
Nick Terrell [Tue, 13 Oct 2020 01:42:24 +0000 (18:42 -0700)] 
Merge pull request #2337 from terrelln/adjust-params

Fix ZSTD_adjustCParams_internal() to handle dictionary logic

4 years ago[minor] Improve docs and add an assert in response to review 2337/head
Nick Terrell [Mon, 12 Oct 2020 19:52:42 +0000 (12:52 -0700)] 
[minor] Improve docs and add an assert in response to review

4 years agoUse cycleLog instead of chainLog to determine LDM jobLog
senhuang42 [Mon, 12 Oct 2020 16:20:18 +0000 (12:20 -0400)] 
Use cycleLog instead of chainLog to determine LDM jobLog

4 years agoFix ZSTD_adjustCParams_internal() to handle dictionary logic
Nick Terrell [Thu, 1 Oct 2020 20:12:23 +0000 (13:12 -0700)] 
Fix ZSTD_adjustCParams_internal() to handle dictionary logic

Pass in the `ZSTD_cParamMode_e` to select how we define our cparams.
Based on the mode we either take the `dictSize` into account or we set
it to `0`. See the documentation for `ZSTD_cParamMode_e`.

Some of the modes currently share the same behavior. But they have
distinct modes because they are drastically different cases. E.g.
compression + reprocessing the dictionary and creating a cdict.

Additionally, when downsizing the hashLog and chainLog take the
(adjusted) dictionary size into account, since the size of the
dictionary gets added onto the window size.

Adds a simple test to ensure that we aren't downsizing too far.

4 years ago[minor improvement] Pass 0 as the content size in the DDS
Nick Terrell [Mon, 5 Oct 2020 22:38:10 +0000 (15:38 -0700)] 
[minor improvement] Pass 0 as the content size in the DDS

The DDS structure can't be copied into the working tables like the DMS.
So it doesn't need to account for the source size when sizing its
parameters, just the dictionary size.

4 years ago[minor improvement] Pass dictSize when selecting parameters
Nick Terrell [Mon, 5 Oct 2020 22:49:55 +0000 (15:49 -0700)] 
[minor improvement] Pass dictSize when selecting parameters

When selecting parameters in streaming compression with a dictionary use
the dictionary size to select the parameters.

4 years ago[refactor] Remove ZSTD_resetCStream_internal()
Nick Terrell [Mon, 5 Oct 2020 22:46:50 +0000 (15:46 -0700)] 
[refactor] Remove ZSTD_resetCStream_internal()

This function is only called in one place. It isn't a logical separation
of duties, and it was only obsfucating the code now, so inline it.

4 years ago[bug] Fix dictContentType when reprocessing cdict
Nick Terrell [Mon, 5 Oct 2020 22:17:44 +0000 (15:17 -0700)] 
[bug] Fix dictContentType when reprocessing cdict

Conditions to trigger:
* CDict is loaded as raw content.
* CDict starts with the zstd dictionary magic number.
* The CDict is reprocessed (not attached or copied).
* The new API is used (streaming or `ZSTD_compress2()`).

Bug: The dictionary is loaded as a zstd dictionary, not a raw content
dictionary, because the dict content type is set to `ZSTD_dct_auto`.

Fix: Pass in the dictionary content type from cdict creation to the call
to `ZSTD_compress_insertDictionary()`.

Test: Added a test case that exposes the bug, and fixed the raw
content tests to not modify the `dictBuffer`, which makes all future
tests with the `dictBuffer` raw content, which doesn't seem intentional.

4 years agoRequire LDM matches to be strictly greater in length 2341/head
senhuang42 [Thu, 8 Oct 2020 03:44:36 +0000 (23:44 -0400)] 
Require LDM matches to be strictly greater in length

4 years agoFix building on AIX 5.1 2281/head
Like Ma [Tue, 25 Aug 2020 19:10:06 +0000 (03:10 +0800)] 
Fix building on AIX 5.1

4 years agoMerge pull request #2329 from senhuang42/prevent_summary_updates_when_using_stdout
Yann Collet [Fri, 9 Oct 2020 08:01:36 +0000 (01:01 -0700)] 
Merge pull request #2329 from senhuang42/prevent_summary_updates_when_using_stdout

Prevent summary updates when using stdout

4 years agoMerge pull request #2328 from marxin/zstd-pool-api
Yann Collet [Fri, 9 Oct 2020 08:00:50 +0000 (01:00 -0700)] 
Merge pull request #2328 from marxin/zstd-pool-api

Allow external creation of POOLs that can be shared.

4 years agoMerge pull request #2303 from senhuang42/let_cdict_take_clevel_priority
Yann Collet [Fri, 9 Oct 2020 07:48:30 +0000 (00:48 -0700)] 
Merge pull request #2303 from senhuang42/let_cdict_take_clevel_priority

For ZSTD_compressStream2(), let cdict take compression level priority

4 years agoMerge pull request #2319 from facebook/fullbench_stream2
Yann Collet [Fri, 9 Oct 2020 07:40:59 +0000 (00:40 -0700)] 
Merge pull request #2319 from facebook/fullbench_stream2

update fullbench for compressStream2()

4 years agoDefine kNullRawSeqStore for every file
senhuang42 [Wed, 7 Oct 2020 20:59:25 +0000 (16:59 -0400)] 
Define kNullRawSeqStore for every file

4 years agoChange matchState_t::ldmSeqStore to pointer
senhuang42 [Tue, 6 Oct 2020 23:43:48 +0000 (19:43 -0400)] 
Change matchState_t::ldmSeqStore to pointer

4 years agoMove posInSequence correction to correct location
senhuang42 [Tue, 6 Oct 2020 20:16:41 +0000 (16:16 -0400)] 
Move posInSequence correction to correct location

4 years agoReplace offCode of largest match if ldm's offCode is superior
senhuang42 [Tue, 6 Oct 2020 17:44:44 +0000 (13:44 -0400)] 
Replace offCode of largest match if ldm's offCode is superior

4 years agoRefactor usage of ms->ldmSeqStore so that it is not modified during compressBlock...
senhuang42 [Tue, 6 Oct 2020 17:43:13 +0000 (13:43 -0400)] 
Refactor usage of ms->ldmSeqStore so that it is not modified during compressBlock(), and simplify skipRawSeqStoreBytes

4 years agoRefactor separate ldm variables all into one struct
senhuang42 [Mon, 5 Oct 2020 22:10:10 +0000 (18:10 -0400)] 
Refactor separate ldm variables all into one struct

4 years agoUse kNullRawSeqStore constant in zstdmt_compress.c
senhuang42 [Mon, 5 Oct 2020 14:50:49 +0000 (10:50 -0400)] 
Use kNullRawSeqStore constant in zstdmt_compress.c

4 years agoRemove bubbling down matches with longer offCode and same matchLen
senhuang42 [Mon, 5 Oct 2020 01:48:39 +0000 (21:48 -0400)] 
Remove bubbling down matches with longer offCode and same matchLen

4 years agoDisable LDM minMatch adjustment when using opt parser
senhuang42 [Mon, 5 Oct 2020 01:47:25 +0000 (21:47 -0400)] 
Disable LDM minMatch adjustment when using opt parser

4 years agoEnable inclusion of mid-flight LDMs in opt parser
senhuang42 [Mon, 5 Oct 2020 01:46:47 +0000 (21:46 -0400)] 
Enable inclusion of mid-flight LDMs in opt parser

4 years agoCorrect incorrect offcode calculation
senhuang42 [Fri, 2 Oct 2020 23:08:10 +0000 (19:08 -0400)] 
Correct incorrect offcode calculation

4 years agoFix static analyze fuzzer.c error
senhuang42 [Fri, 2 Oct 2020 19:27:06 +0000 (15:27 -0400)] 
Fix static analyze fuzzer.c error

4 years agoAdd explicit conversion of size_t to U32
senhuang42 [Fri, 2 Oct 2020 17:47:54 +0000 (13:47 -0400)] 
Add explicit conversion of size_t to U32

4 years agoAdd cSize regression test to fuzzer.c
senhuang42 [Fri, 2 Oct 2020 13:49:35 +0000 (09:49 -0400)] 
Add cSize regression test to fuzzer.c

4 years agoPrefix new static ldm helpers with ZSTD_opt
senhuang42 [Thu, 1 Oct 2020 20:14:41 +0000 (16:14 -0400)] 
Prefix new static ldm helpers with ZSTD_opt

4 years agoAdd DEBUGLOG() calls in ldm helpers
senhuang42 [Thu, 1 Oct 2020 16:07:18 +0000 (12:07 -0400)] 
Add DEBUGLOG() calls in ldm helpers

4 years agoMake function descriptions more accurate
senhuang42 [Thu, 1 Oct 2020 15:47:35 +0000 (11:47 -0400)] 
Make function descriptions more accurate

4 years agoImprove documentation of relevant structs
senhuang42 [Thu, 1 Oct 2020 15:40:52 +0000 (11:40 -0400)] 
Improve documentation of relevant structs

4 years agoCorrect matchLength calculation and remove unnecessary functions
senhuang42 [Thu, 1 Oct 2020 15:35:48 +0000 (11:35 -0400)] 
Correct matchLength calculation and remove unnecessary functions

4 years agoReset ldmSeqStore after initStats_ultra() pass for btultra2
senhuang42 [Thu, 1 Oct 2020 14:13:06 +0000 (10:13 -0400)] 
Reset ldmSeqStore after initStats_ultra() pass for btultra2

4 years agoRefactor existing functions to use posInSequence
senhuang42 [Thu, 1 Oct 2020 14:12:21 +0000 (10:12 -0400)] 
Refactor existing functions to use posInSequence

4 years agoAdjustments to ldm_calculateMatchRange() to calculate bounds correctly
senhuang42 [Wed, 30 Sep 2020 23:45:40 +0000 (19:45 -0400)] 
Adjustments to ldm_calculateMatchRange() to calculate bounds correctly

4 years agoAdd ldm_calculateMatchRange() function
senhuang42 [Wed, 30 Sep 2020 23:14:31 +0000 (19:14 -0400)] 
Add ldm_calculateMatchRange() function

4 years agoRemove rawSeqStore.base and add rawSeqStore.posInSequence
senhuang42 [Wed, 30 Sep 2020 21:20:47 +0000 (17:20 -0400)] 
Remove rawSeqStore.base and add rawSeqStore.posInSequence

4 years agoAdd unit tests into playTests.sh
senhuang42 [Wed, 30 Sep 2020 17:25:02 +0000 (13:25 -0400)] 
Add unit tests into playTests.sh

4 years agoPrevent duplicate LDMs from being inserted
senhuang42 [Wed, 30 Sep 2020 16:54:45 +0000 (12:54 -0400)] 
Prevent duplicate LDMs from being inserted

4 years agoAdd extra bounds check to prevent heap access after free ASAN error
senhuang42 [Wed, 30 Sep 2020 15:25:51 +0000 (11:25 -0400)] 
Add extra bounds check to prevent heap access after free ASAN error

4 years agoAddress mixed variables C90 warning
senhuang42 [Wed, 30 Sep 2020 15:06:44 +0000 (11:06 -0400)] 
Address mixed variables C90 warning

4 years agoldm_getNextMatch fixed return values
senhuang42 [Tue, 29 Sep 2020 22:12:32 +0000 (18:12 -0400)] 
ldm_getNextMatch fixed return values

4 years agoCleanups, add comments and explanations
senhuang42 [Tue, 29 Sep 2020 20:35:06 +0000 (16:35 -0400)] 
Cleanups, add comments and explanations

4 years agoFixed sifting algorithm
senhuang42 [Tue, 29 Sep 2020 19:35:13 +0000 (15:35 -0400)] 
Fixed sifting algorithm

4 years agoFixed end of match boundary update issues
senhuang42 [Tue, 29 Sep 2020 16:12:58 +0000 (12:12 -0400)] 
Fixed end of match boundary update issues

4 years agoAdd proper bounds check on adding ldms
senhuang42 [Mon, 28 Sep 2020 21:58:23 +0000 (17:58 -0400)] 
Add proper bounds check on adding ldms

4 years agoAdd a function ldm_voidSequences()
senhuang42 [Mon, 28 Sep 2020 14:29:17 +0000 (10:29 -0400)] 
Add a function ldm_voidSequences()

4 years agoFix function argument to getNextMatch()
senhuang42 [Mon, 28 Sep 2020 00:06:44 +0000 (20:06 -0400)] 
Fix function argument to getNextMatch()

4 years agoAdjustments to no longer segfault on nci
senhuang42 [Mon, 28 Sep 2020 00:00:14 +0000 (20:00 -0400)] 
Adjustments to no longer segfault on nci

4 years agoAdd base adjustment correction
senhuang42 [Sun, 27 Sep 2020 17:25:27 +0000 (13:25 -0400)] 
Add base adjustment correction

4 years agoAdd initial getNextMatch() in opt parser
senhuang42 [Sun, 27 Sep 2020 17:19:54 +0000 (13:19 -0400)] 
Add initial getNextMatch() in opt parser

4 years agoAdded more debugging
senhuang42 [Sun, 27 Sep 2020 17:02:46 +0000 (13:02 -0400)] 
Added more debugging

4 years agoAdd re-copying of ldmSeqStore after processing
senhuang42 [Sun, 27 Sep 2020 02:14:21 +0000 (22:14 -0400)] 
Add re-copying of ldmSeqStore after processing

4 years agoAdd debug statements, flesh out functions
senhuang42 [Sun, 27 Sep 2020 01:56:14 +0000 (21:56 -0400)] 
Add debug statements, flesh out functions

4 years agoGet zstd to build with new functions and callsites, fix arguments
senhuang42 [Sun, 27 Sep 2020 01:38:35 +0000 (21:38 -0400)] 
Get zstd to build with new functions and callsites, fix arguments

4 years agoImplement part of ldm_maybeAddLdm()
senhuang42 [Sat, 26 Sep 2020 16:28:10 +0000 (12:28 -0400)] 
Implement part of ldm_maybeAddLdm()

4 years agoImplement ldm_getNextMatch()
senhuang42 [Sat, 26 Sep 2020 16:16:15 +0000 (12:16 -0400)] 
Implement ldm_getNextMatch()

4 years agoImplement basic splitSequence and skipSequence functions
senhuang42 [Sat, 26 Sep 2020 16:09:19 +0000 (12:09 -0400)] 
Implement basic splitSequence and skipSequence functions

4 years agoFlesh out required args for ldm_handleLdm()
senhuang42 [Sat, 26 Sep 2020 15:59:07 +0000 (11:59 -0400)] 
Flesh out required args for ldm_handleLdm()

4 years agoAdd callsites to appropriate locations in ..opt_generic()
senhuang42 [Sat, 26 Sep 2020 15:24:29 +0000 (11:24 -0400)] 
Add callsites to appropriate locations in ..opt_generic()

4 years agoAdd ldm helper function declarations into opt parser
senhuang42 [Sat, 26 Sep 2020 15:22:50 +0000 (11:22 -0400)] 
Add ldm helper function declarations into opt parser

4 years agoModify codepath to use opt parser exclusively if the compression level is high enough
senhuang42 [Sat, 26 Sep 2020 15:13:39 +0000 (11:13 -0400)] 
Modify codepath to use opt parser exclusively if the compression level is high enough

4 years agoAdd rawSeqStore to match state
senhuang42 [Sat, 26 Sep 2020 15:07:52 +0000 (11:07 -0400)] 
Add rawSeqStore to match state

4 years agoAdd callsites to zstdcli.c and tests to playTests.sh 2329/head
senhuang42 [Wed, 7 Oct 2020 17:47:38 +0000 (13:47 -0400)] 
Add callsites to zstdcli.c and tests to playTests.sh

4 years agoAdd hasStdoutOutput setter to fileio.h
senhuang42 [Wed, 7 Oct 2020 17:44:25 +0000 (13:44 -0400)] 
Add hasStdoutOutput setter to fileio.h

4 years agoFixed logic for stdout output
senhuang42 [Wed, 7 Oct 2020 17:43:27 +0000 (13:43 -0400)] 
Fixed logic for stdout output

4 years agoAdd new stdoutOutput field
senhuang42 [Wed, 7 Oct 2020 17:42:34 +0000 (13:42 -0400)] 
Add new stdoutOutput field

4 years agoAllow external creation of POOLs that can be shared. 2328/head
Martin Liska [Fri, 25 Sep 2020 12:12:14 +0000 (14:12 +0200)] 
Allow external creation of POOLs that can be shared.

4 years agoMerge pull request #2330 from senhuang42/fix_stdinout_error_messages
Yann Collet [Tue, 6 Oct 2020 22:58:37 +0000 (15:58 -0700)] 
Merge pull request #2330 from senhuang42/fix_stdinout_error_messages

Improve error messages on console input/output

4 years agoMerge pull request #2338 from terrelln/comments
Nick Terrell [Fri, 2 Oct 2020 01:56:24 +0000 (18:56 -0700)] 
Merge pull request #2338 from terrelln/comments

Add comments to ZSTD_getLowest{Match,Prefix}Index()

4 years agoMerge pull request #2333 from terrelln/stable-dst
Nick Terrell [Fri, 2 Oct 2020 01:56:11 +0000 (18:56 -0700)] 
Merge pull request #2333 from terrelln/stable-dst

Reset all decompression parameters in ZSTD_DCtx_reset()

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 agoAdd comments to ZSTD_getLowest{Match,Prefix}Index() 2338/head
Nick Terrell [Thu, 1 Oct 2020 20:21:46 +0000 (13:21 -0700)] 
Add comments to ZSTD_getLowest{Match,Prefix}Index()

Clarify how we handle dictionaries in each case.

4 years agoMerge pull request #2317 from animalize/msvc_inline
Yann Collet [Wed, 30 Sep 2020 15:27:53 +0000 (08:27 -0700)] 
Merge pull request #2317 from animalize/msvc_inline

Let MSVC force inline ZSTD_hashPtr() function