]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
9 months agocodemod: ZSTD_sequenceFormat_e -> ZSTD_SequenceFormat_e
Yann Collet [Tue, 10 Dec 2024 21:58:11 +0000 (13:58 -0800)] 
codemod: ZSTD_sequenceFormat_e -> ZSTD_SequenceFormat_e

since it's a type name.

Note: in contrast with previous names, this one is on the Public API side.
So there is a #define, so that existing programs using ZSTD_sequenceFormat_e still work.

9 months agocreated ZSTD_entropyCompressSeqStore_wExtLitBuffer()
Yann Collet [Tue, 10 Dec 2024 21:33:48 +0000 (13:33 -0800)] 
created ZSTD_entropyCompressSeqStore_wExtLitBuffer()

can receive externally defined buffer of literals

9 months agoZSTD_entropyCompressSeqStore_internal() can accept an externally defined literals...
Yann Collet [Tue, 10 Dec 2024 20:02:44 +0000 (12:02 -0800)] 
ZSTD_entropyCompressSeqStore_internal() can accept an externally defined literals buffer

9 months agocodemod: ZSTD_defaultPolicy_e -> ZSTD_DefaultPolicy_e
Yann Collet [Tue, 10 Dec 2024 19:40:06 +0000 (11:40 -0800)] 
codemod: ZSTD_defaultPolicy_e -> ZSTD_DefaultPolicy_e

9 months agocodemod: symbolEncodingType_e -> SymbolEncodingType_e
Yann Collet [Tue, 10 Dec 2024 19:34:12 +0000 (11:34 -0800)] 
codemod: symbolEncodingType_e -> SymbolEncodingType_e

9 months agocodemod: ZSTD_sequenceLength -> ZSTD_SequenceLength
Yann Collet [Tue, 10 Dec 2024 19:27:03 +0000 (11:27 -0800)] 
codemod: ZSTD_sequenceLength -> ZSTD_SequenceLength

9 months agocodemod: seqStore_t -> SeqStore_t
Yann Collet [Tue, 10 Dec 2024 19:09:52 +0000 (11:09 -0800)] 
codemod: seqStore_t -> SeqStore_t

same idea, SeqStore_t is a type name, it should start with a Capital letter.

9 months agocodemod: seqDef -> SeqDef
Yann Collet [Tue, 10 Dec 2024 19:06:58 +0000 (11:06 -0800)] 
codemod: seqDef -> SeqDef

SeqDef is a type name, so it should start with a Capital letter.
It's an internal symbol, no impact on public API.

9 months agomove Sequences definition to zstd_compress_internal.h
Yann Collet [Tue, 10 Dec 2024 19:04:25 +0000 (11:04 -0800)] 
move Sequences definition to zstd_compress_internal.h

they should not be in common/zstd_internal.h,
since these definitions are not shared beyond lib/compress/.

9 months agocreated ZSTD_storeSeqOnly()
Yann Collet [Tue, 10 Dec 2024 05:39:34 +0000 (21:39 -0800)] 
created ZSTD_storeSeqOnly()

makes it possible to register a sequence without copying its literals.

9 months agopublish new symbol ZSTD_compressSequencesAndLiterals()
Yann Collet [Tue, 10 Dec 2024 02:17:34 +0000 (18:17 -0800)] 
publish new symbol ZSTD_compressSequencesAndLiterals()

10 months agoremoved debug echos
Bent [Thu, 19 Dec 2024 11:22:10 +0000 (12:22 +0100)] 
removed debug echos

10 months agoadded UNAME_TARGET_SYSTEM build flag to configure shared lib flags
Bent [Thu, 19 Dec 2024 11:16:08 +0000 (12:16 +0100)] 
added UNAME_TARGET_SYSTEM build flag to configure shared lib flags

10 months agoMerge pull request #4212 from diegonc/t/fix-test-on-gnuhurd
Yann Collet [Tue, 17 Dec 2024 04:43:34 +0000 (20:43 -0800)] 
Merge pull request #4212 from diegonc/t/fix-test-on-gnuhurd

tests: fix non-regular file test on GNU/Hurd

10 months agoMerge pull request #4213 from kevinjzhang/CI
Yann Collet [Tue, 17 Dec 2024 04:43:13 +0000 (20:43 -0800)] 
Merge pull request #4213 from kevinjzhang/CI

Move sanitizer CI jobs back to ubuntu-latest

10 months agoMerge pull request #4214 from facebook/ldm_bucketLog
Yann Collet [Tue, 17 Dec 2024 04:43:00 +0000 (20:43 -0800)] 
Merge pull request #4214 from facebook/ldm_bucketLog

minor: more accurate parameter for `ZSTD_ldm_insertEntry()`

10 months agominor: more accurate parameter 4214/head
Yann Collet [Sat, 14 Dec 2024 19:57:14 +0000 (11:57 -0800)] 
minor: more accurate parameter

just pass ldm_bucketLog, instead of the entire ldm* state

10 months agoMerge pull request #4210 from facebook/cm310
Victor Zhang [Fri, 13 Dec 2024 22:57:52 +0000 (14:57 -0800)] 
Merge pull request #4210 from facebook/cm310

Update cmake minimum requirement to 3.10

10 months agoRevert "Pin tsan and msan CI jobs to ubuntu-20.04 (#3945)" 4213/head
Elliot Gorokhovsky [Tue, 12 Mar 2024 15:26:01 +0000 (08:26 -0700)] 
Revert "Pin tsan and msan CI jobs to ubuntu-20.04 (#3945)"

This reverts commit ee6acaf26bbf842837513087c91776b83d4d9560.

10 months agoUpdate VERSION_LESS usage to VERSION_GREATER_THAN 4210/head
Victor Zhang [Thu, 12 Dec 2024 19:39:40 +0000 (11:39 -0800)] 
Update VERSION_LESS usage to VERSION_GREATER_THAN

10 months agoChange CLI to employ multithreading by default (#4211)
daniellerozenblit [Thu, 12 Dec 2024 18:09:29 +0000 (13:09 -0500)] 
Change CLI to employ multithreading by default (#4211)

* Change CLI to employ multithreading by default

* Document changes to benchmarking, print number of threads for display level >= 4, and add lower bound of 1 for the default number of threads

10 months agotests: fix non-regular file test on GNU/Hurd 4212/head
Diego Nieto Cid [Tue, 10 Dec 2024 13:20:32 +0000 (10:20 -0300)] 
tests: fix non-regular file test on GNU/Hurd

Since commit b21b03ca6 [1] the behaviour of writes to /dev/zero has been
fixed and now the non-regular file removal test no longer needs to be
done on /dev/random (which no longer works as random is not writable now).

[1] https://git.savannah.gnu.org/cgit/hurd/hurd.git/commit/?id=b21b03ca624b89caeedfe58430cea4b40317d39f

10 months agoUpdate cmake minimum requirement to 3.10
Victor Zhang [Mon, 9 Dec 2024 18:53:38 +0000 (10:53 -0800)] 
Update cmake minimum requirement to 3.10

CMake warns on the current minimum requirement (3.5). Update to 3.10.
This means support is still available for the default on Ubuntu 18.04, which
exited LTS standard in April of 2023.
[draft]

10 months agoMerge pull request #4208 from facebook/dependabot/github_actions/msys2/setup-msys2...
Yann Collet [Mon, 9 Dec 2024 06:17:49 +0000 (22:17 -0800)] 
Merge pull request #4208 from facebook/dependabot/github_actions/msys2/setup-msys2-2.26.0

Bump msys2/setup-msys2 from 2.25.0 to 2.26.0

10 months agoBump msys2/setup-msys2 from 2.25.0 to 2.26.0 4208/head
dependabot[bot] [Mon, 9 Dec 2024 05:38:13 +0000 (05:38 +0000)] 
Bump msys2/setup-msys2 from 2.25.0 to 2.26.0

Bumps [msys2/setup-msys2](https://github.com/msys2/setup-msys2) from 2.25.0 to 2.26.0.
- [Release notes](https://github.com/msys2/setup-msys2/releases)
- [Changelog](https://github.com/msys2/setup-msys2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/msys2/setup-msys2/compare/c52d1fa9c7492275e60fe763540fb601f5f232a1...d44ca8e88d8b43d56cf5670f91747359d5537f97)

---
updated-dependencies:
- dependency-name: msys2/setup-msys2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
10 months agoDisallow 32-bit mode in clang section
郑苏波 (Super Zheng) [Wed, 7 Aug 2024 03:22:50 +0000 (11:22 +0800)] 
Disallow 32-bit mode in clang section

Fix register %rbx is only available in 64-bit mode

10 months agoMerge pull request #4201 from rorosen/seek-table-create-null-check
Yann Collet [Wed, 27 Nov 2024 01:59:42 +0000 (17:59 -0800)] 
Merge pull request #4201 from rorosen/seek-table-create-null-check

prevent possible segfault when creating seek table

10 months agoMerge pull request #4202 from nhz2/fix-compressBound-typo
Yann Collet [Wed, 27 Nov 2024 01:59:25 +0000 (17:59 -0800)] 
Merge pull request #4202 from nhz2/fix-compressBound-typo

Fix typo in ZSTD_compressBound docs

10 months agoMerge pull request #4205 from DimitriPapadopoulos/codespell
Yann Collet [Tue, 26 Nov 2024 17:59:25 +0000 (09:59 -0800)] 
Merge pull request #4205 from DimitriPapadopoulos/codespell

Fix new typos found by codespell

10 months agoFix new typos found by codespell 4205/head
Dimitri Papadopoulos [Tue, 26 Nov 2024 10:15:39 +0000 (11:15 +0100)] 
Fix new typos found by codespell

10 months agoMerge pull request #4199 from jimis/fix_filesize_print
Yann Collet [Mon, 25 Nov 2024 16:54:11 +0000 (08:54 -0800)] 
Merge pull request #4199 from jimis/fix_filesize_print

Fix printing of filesize if >4GB

10 months agoprevent possible segfault when creating seek table 4201/head
Robert Rose [Sun, 24 Nov 2024 22:36:53 +0000 (23:36 +0100)] 
prevent possible segfault when creating seek table

Add a check whether the seek table of a `ZSTD_seekable` is initialized
before creating a new seek table from it. Return `NULL`, if the check
fails.

10 months agoFix typo in ZSTD_compressBound docs 4202/head
nhz2 [Mon, 25 Nov 2024 00:05:15 +0000 (19:05 -0500)] 
Fix typo in ZSTD_compressBound docs

10 months agoFix printing of filesize if >4GB 4199/head
Dimitrios Apostolou [Wed, 20 Nov 2024 15:11:17 +0000 (16:11 +0100)] 
Fix printing of filesize if >4GB

11 months agoMerge pull request #4196 from facebook/dependabot/github_actions/msys2/setup-msys2...
Yann Collet [Mon, 18 Nov 2024 16:34:40 +0000 (08:34 -0800)] 
Merge pull request #4196 from facebook/dependabot/github_actions/msys2/setup-msys2-2.25.0

Bump msys2/setup-msys2 from 2.24.1 to 2.25.0

11 months agoBump msys2/setup-msys2 from 2.24.1 to 2.25.0 4196/head
dependabot[bot] [Mon, 18 Nov 2024 05:12:44 +0000 (05:12 +0000)] 
Bump msys2/setup-msys2 from 2.24.1 to 2.25.0

Bumps [msys2/setup-msys2](https://github.com/msys2/setup-msys2) from 2.24.1 to 2.25.0.
- [Release notes](https://github.com/msys2/setup-msys2/releases)
- [Changelog](https://github.com/msys2/setup-msys2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/msys2/setup-msys2/compare/ddf331adaebd714795f1042345e6ca57bd66cea8...c52d1fa9c7492275e60fe763540fb601f5f232a1)

---
updated-dependencies:
- dependency-name: msys2/setup-msys2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
11 months agoMerge pull request #4191 from lukaso/fix-macos-min-version-sdk-path
Yann Collet [Mon, 11 Nov 2024 18:27:57 +0000 (10:27 -0800)] 
Merge pull request #4191 from lukaso/fix-macos-min-version-sdk-path

cmake: Fix #4038 MacOS target older OS and SDK versions

11 months agoMerge pull request #4194 from facebook/dependabot/github_actions/github/codeql-action...
Yann Collet [Mon, 11 Nov 2024 15:54:06 +0000 (07:54 -0800)] 
Merge pull request #4194 from facebook/dependabot/github_actions/github/codeql-action-3.27.1

Bump github/codeql-action from 3.26.2 to 3.27.1

11 months agoBump github/codeql-action from 3.26.2 to 3.27.1 4194/head
dependabot[bot] [Mon, 11 Nov 2024 05:27:06 +0000 (05:27 +0000)] 
Bump github/codeql-action from 3.26.2 to 3.27.1

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.2 to 3.27.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/429e1977040da7a23b6822b13c129cd1ba93dbb2...4f3212b61783c3c68e8309a0f18a699764811cda)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
11 months agoMerge pull request #4188 from facebook/qnx_include
Yann Collet [Sun, 10 Nov 2024 20:34:05 +0000 (12:34 -0800)] 
Merge pull request #4188 from facebook/qnx_include

blind fix for QNX

11 months agocmake: Fix #4038 MacOS target older OS and SDK versions 4191/head
Lukas Oberhuber [Fri, 8 Nov 2024 00:08:33 +0000 (00:08 +0000)] 
cmake: Fix #4038 MacOS target older OS and SDK versions

This fix ensures that when `MACOSX_DEPLOYMENT_TARGET` and `SDKROOT` are set, they are respected when building the libraries and executables.

11 months agoblind fix for QNX 4188/head
Yann Collet [Tue, 5 Nov 2024 08:09:13 +0000 (00:09 -0800)] 
blind fix for QNX

following notification from @rainbowball.
fix #4186.

Note: there is currently no QNX compilation test in CI
so this is a "blind" fix,
and this target can be silently broken again in the future.

11 months agoMerge pull request #4184 from facebook/ZSTD_getErrorCode
Yann Collet [Tue, 5 Nov 2024 05:55:56 +0000 (21:55 -0800)] 
Merge pull request #4184 from facebook/ZSTD_getErrorCode

elevated ZSTD_getErrorCode() to stable status

11 months agoinform manual users that it's automatically generated 4184/head
Yann Collet [Thu, 31 Oct 2024 22:06:48 +0000 (15:06 -0700)] 
inform manual users that it's automatically generated

suggested by @Eugeny1

11 months agofixed single file library test
Yann Collet [Thu, 31 Oct 2024 21:38:36 +0000 (14:38 -0700)] 
fixed single file library test

copy "zstd_errors.h" alongside "zstd.h" to pass compilation test.

11 months agoelevated ZSTD_getErrorCode() to stable status
Yann Collet [Thu, 31 Oct 2024 21:04:11 +0000 (14:04 -0700)] 
elevated ZSTD_getErrorCode() to stable status

answering #4183

11 months agoMerge pull request #4180 from facebook/split_param
Yann Collet [Thu, 31 Oct 2024 21:15:29 +0000 (14:15 -0700)] 
Merge pull request #4180 from facebook/split_param

Block splitter control parameter

11 months agochange experimental parameter name 4180/head
Yann Collet [Thu, 31 Oct 2024 20:43:40 +0000 (13:43 -0700)] 
change experimental parameter name

from ZSTD_c_useBlockSplitter to ZSTD_c_splitAfterSequences.

11 months agochanged variable name to ZSTD_c_blockSplitterLevel
Yann Collet [Tue, 29 Oct 2024 18:04:11 +0000 (11:04 -0700)] 
changed variable name to ZSTD_c_blockSplitterLevel

suggested by @terrelln

11 months agoremoved trace left over
Yann Collet [Mon, 28 Oct 2024 23:57:01 +0000 (16:57 -0700)] 
removed trace left over

11 months agofixed minor conversion warning
Yann Collet [Mon, 28 Oct 2024 23:47:38 +0000 (16:47 -0700)] 
fixed minor conversion warning

11 months agoadded a test
Yann Collet [Sat, 26 Oct 2024 03:29:15 +0000 (20:29 -0700)] 
added a test

test both that the new parameter works as intended,
and that the over-split protection works as intended

11 months agoexpose new parameter ZSTD_c_blockSplitter_level
Yann Collet [Fri, 25 Oct 2024 23:08:22 +0000 (16:08 -0700)] 
expose new parameter ZSTD_c_blockSplitter_level

11 months agoadd internal compression parameter preBlockSplitter_level
Yann Collet [Fri, 25 Oct 2024 22:51:03 +0000 (15:51 -0700)] 
add internal compression parameter preBlockSplitter_level

not yet exposed to the interface.

Also: renames `useBlockSplitter` to `postBlockSplitter`
to better qualify the difference between the 2 settings.

11 months agoMerge pull request #4178 from facebook/split_fromBorders
Yann Collet [Mon, 28 Oct 2024 23:30:49 +0000 (16:30 -0700)] 
Merge pull request #4178 from facebook/split_fromBorders

Add fastest block-splitter variant

11 months agoupdate regression results 4178/head
Yann Collet [Fri, 25 Oct 2024 23:33:00 +0000 (16:33 -0700)] 
update regression results

11 months agoupdate ZSTD_splitBlock() documentation
Yann Collet [Fri, 25 Oct 2024 23:25:02 +0000 (16:25 -0700)] 
update ZSTD_splitBlock() documentation

11 months agonew block splitting variant _fromBorders
Yann Collet [Thu, 24 Oct 2024 22:57:29 +0000 (15:57 -0700)] 
new block splitting variant _fromBorders

less precise but still suitable for `fast` strategy.

11 months agoMerge pull request #4176 from facebook/sample11
Yann Collet [Fri, 25 Oct 2024 23:13:17 +0000 (16:13 -0700)] 
Merge pull request #4176 from facebook/sample11

Added faster block splitter variants for levels 3-7

11 months agoupdate regression results 4176/head
Yann Collet [Thu, 24 Oct 2024 21:47:55 +0000 (14:47 -0700)] 
update regression results

11 months agoadd faster block splitting heuristic, suitable for dfast strategy
Yann Collet [Thu, 24 Oct 2024 21:37:00 +0000 (14:37 -0700)] 
add faster block splitting heuristic, suitable for dfast strategy

11 months agofix minor visual conversion warning
Yann Collet [Thu, 24 Oct 2024 20:38:12 +0000 (13:38 -0700)] 
fix minor visual conversion warning

11 months agoadded block splitter variant for greedy & lazy (levels 5 to 7)
Yann Collet [Thu, 24 Oct 2024 20:27:01 +0000 (13:27 -0700)] 
added block splitter variant for greedy & lazy (levels 5 to 7)

11 months agocomplete sample11 with reduced fingerprint size
Yann Collet [Thu, 24 Oct 2024 03:20:32 +0000 (20:20 -0700)] 
complete sample11 with reduced fingerprint size

11 months agoreduce splitBlock arguments
Yann Collet [Thu, 24 Oct 2024 02:59:03 +0000 (19:59 -0700)] 
reduce splitBlock arguments

11 months agoorganize specialization at recordFingerprint level
Yann Collet [Wed, 23 Oct 2024 23:43:44 +0000 (16:43 -0700)] 
organize specialization at recordFingerprint level

11 months agonew variant, sampling by 11
Yann Collet [Wed, 23 Oct 2024 18:57:23 +0000 (11:57 -0700)] 
new variant, sampling by 11

11 months agoMerge pull request #4136 from facebook/preSplit
Yann Collet [Thu, 24 Oct 2024 20:17:36 +0000 (13:17 -0700)] 
Merge pull request #4136 from facebook/preSplit

Block splitter

11 months agoupdate regression results 4136/head
Yann Collet [Thu, 24 Oct 2024 18:43:16 +0000 (11:43 -0700)] 
update regression results

first block is no longer splitted since adding the @savings over-split protection

11 months agoapply limit conditions for all splitting strategies
Yann Collet [Thu, 24 Oct 2024 18:36:56 +0000 (11:36 -0700)] 
apply limit conditions for all splitting strategies

instead of just for blind split.

This is in anticipation of adversarial input,
that would intentionally target the sampling pattern of the split detector.

Note that, even without this protection, splitting can never expand beyond ZSTD_COMPRESSBOUND(),
because this upper limit uses a 1KB block size worst case scenario,
and splitting never creates blocks thath small.

The protection is more to ensure that data is not expanded by more than 3-bytes per 128 KB full block,
which is a much stricter limit.

11 months agoupdate regression results
Yann Collet [Wed, 23 Oct 2024 22:56:56 +0000 (15:56 -0700)] 
update regression results

11 months agostricter limits to ensure expansion factor with blind-split strategy
Yann Collet [Wed, 23 Oct 2024 21:55:10 +0000 (14:55 -0700)] 
stricter limits to ensure expansion factor with blind-split strategy

issue reported by @terrelln

11 months agosplit all full 128 KB blocks
Yann Collet [Wed, 23 Oct 2024 21:11:49 +0000 (14:11 -0700)] 
split all full 128 KB blocks

this helps make the streaming behavior more consistent,
since it does no longer depend on having more data presented on the input.

suggested by @terrelln

11 months agorewrite fingerprint storage to no longer need 64-bit members
Yann Collet [Wed, 23 Oct 2024 18:10:07 +0000 (11:10 -0700)] 
rewrite fingerprint storage to no longer need 64-bit members

so that it can be stored using standard alignment requirement (sizeof(void*)).

Distance function still requires 64-bit signed multiplication though,
so it won't change the issue regarding the bug in ubsan for clang 32-bit on github ci.

11 months agofixed minor strict pedantic C90 issue
Yann Collet [Wed, 23 Oct 2024 04:49:35 +0000 (21:49 -0700)] 
fixed minor strict pedantic C90 issue

11 months agofixed extraneous return
Yann Collet [Tue, 22 Oct 2024 23:51:52 +0000 (16:51 -0700)] 
fixed extraneous return

strict C90 compliance test

11 months agoupdated compression results
Yann Collet [Tue, 22 Oct 2024 23:33:55 +0000 (16:33 -0700)] 
updated compression results

due to integration of `sample5` strategy, leading to better compression ratios on a range of levels

11 months agofixes static state allocation check
Yann Collet [Tue, 22 Oct 2024 23:25:44 +0000 (16:25 -0700)] 
fixes static state allocation check

detected by @felixhandte

11 months agorewrote ZSTD_cwksp_initialAllocStart() to be easier to read
Yann Collet [Tue, 22 Oct 2024 23:22:17 +0000 (16:22 -0700)] 
rewrote ZSTD_cwksp_initialAllocStart() to be easier to read

following a discussion with @felixhandte

11 months agorewrite penalty update
Yann Collet [Tue, 22 Oct 2024 23:06:07 +0000 (16:06 -0700)] 
rewrite penalty update

suggested by @terrelln

11 months agochanged loop exit condition so that there is no need to assert() within the loop.
Yann Collet [Tue, 22 Oct 2024 23:03:19 +0000 (16:03 -0700)] 
changed loop exit condition so that there is no need to assert() within the loop.

11 months agorenamed: FingerPrint => Fingerprint
Yann Collet [Tue, 22 Oct 2024 22:32:11 +0000 (15:32 -0700)] 
renamed: FingerPrint => Fingerprint

suggested by @terrelln

11 months agoconservatively estimate over-splitting in presence of incompressible loss
Yann Collet [Tue, 22 Oct 2024 22:25:45 +0000 (15:25 -0700)] 
conservatively estimate over-splitting in presence of incompressible loss

ensure data can never be expanded by more than 3 bytes per full block.

11 months agoensure `lastBlock` is correctly determined
Yann Collet [Tue, 22 Oct 2024 22:19:06 +0000 (15:19 -0700)] 
ensure `lastBlock` is correctly determined

reported by @terrelln

11 months agomade ZSTD_isPower2() an inline function
Yann Collet [Tue, 22 Oct 2024 22:12:46 +0000 (15:12 -0700)] 
made ZSTD_isPower2() an inline function

11 months agoadded a faster block splitter variant
Yann Collet [Mon, 21 Oct 2024 21:56:43 +0000 (14:56 -0700)] 
added a faster block splitter variant

that samples 1 in 5 positions.

This variant is fast enough for lazy2 and btlazy2,
but it's less good in combination with post-splitter at higher levels (>= btopt).

11 months agominor split optimization
Yann Collet [Mon, 21 Oct 2024 00:16:17 +0000 (17:16 -0700)] 
minor split optimization

let's fill the initial stats directly into target fingerprint

11 months agoupdated regression test results
Yann Collet [Mon, 21 Oct 2024 00:07:43 +0000 (17:07 -0700)] 
updated regression test results

11 months agofixed workspace alignment on non 64-bit systems
Yann Collet [Fri, 18 Oct 2024 23:47:41 +0000 (16:47 -0700)] 
fixed workspace alignment on non 64-bit systems

11 months agosplitter workspace is now provided by ZSTD_CCtx*
Yann Collet [Fri, 18 Oct 2024 23:00:36 +0000 (16:00 -0700)] 
splitter workspace is now provided by ZSTD_CCtx*

11 months agofix alignment test
Yann Collet [Fri, 18 Oct 2024 18:20:54 +0000 (11:20 -0700)] 
fix alignment test

for non 64-bit systems

11 months agofixed minor conversion warnings on Visual
Yann Collet [Fri, 18 Oct 2024 18:16:49 +0000 (11:16 -0700)] 
fixed minor conversion warnings on Visual

11 months agoZSTD_splitBlock_4k() uses externally provided workspace
Yann Collet [Fri, 18 Oct 2024 01:40:47 +0000 (18:40 -0700)] 
ZSTD_splitBlock_4k() uses externally provided workspace

ideally, this workspace would be provided from the ZSTD_CCtx* state

11 months agoreplaced uasan32 test by asan32 test
Yann Collet [Fri, 18 Oct 2024 00:05:17 +0000 (17:05 -0700)] 
replaced uasan32 test by asan32 test

11 months agofixing minor formatting issue in 32-bit mode with logs enabled
Yann Collet [Thu, 17 Oct 2024 23:23:05 +0000 (16:23 -0700)] 
fixing minor formatting issue in 32-bit mode with logs enabled

11 months agofixed VS2010 solution
Yann Collet [Thu, 17 Oct 2024 22:44:51 +0000 (15:44 -0700)] 
fixed VS2010 solution

11 months agonew Makefile target mesonbuild
Yann Collet [Thu, 17 Oct 2024 22:42:02 +0000 (15:42 -0700)] 
new Makefile target mesonbuild

for easier local testing

11 months agofixed meson build
Yann Collet [Thu, 17 Oct 2024 22:35:56 +0000 (15:35 -0700)] 
fixed meson build

11 months agofixed zstreamtest
Yann Collet [Thu, 17 Oct 2024 22:16:57 +0000 (15:16 -0700)] 
fixed zstreamtest

11 months agofixed c90 comment style
Yann Collet [Thu, 17 Oct 2024 21:52:49 +0000 (14:52 -0700)] 
fixed c90 comment style