]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
4 months agoUpdate windows-artifacts.yml 4324/head
Yann Collet [Mon, 3 Mar 2025 07:11:35 +0000 (23:11 -0800)] 
Update windows-artifacts.yml

edit version comment

4 months agoUpdate scorecards.yml
Yann Collet [Mon, 3 Mar 2025 07:11:08 +0000 (23:11 -0800)] 
Update scorecards.yml

edit version comment

4 months agoUpdate publish-release-artifacts.yml
Yann Collet [Mon, 3 Mar 2025 07:10:09 +0000 (23:10 -0800)] 
Update publish-release-artifacts.yml

fix version comment

4 months agoBump actions/checkout from 3 to 4
dependabot[bot] [Mon, 3 Mar 2025 05:44:17 +0000 (05:44 +0000)] 
Bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
5 months agolib: zstd: export API needed for dictionary support
Sergey Senozhatsky [Mon, 2 Sep 2024 10:55:49 +0000 (19:55 +0900)] 
lib: zstd: export API needed for dictionary support

Patch series "zram: introduce custom comp backends API", v7.

This series introduces support for run-time compression algorithms tuning,
so users, for instance, can adjust compression/acceleration levels and
provide pre-trained compression/decompression dictionaries which certain
algorithms support.

At this point we stop supporting (old/deprecated) comp API.  We may add
new acomp API support in the future, but before that zram needs to undergo
some major rework (we are not ready for async compression).

Some benchmarks for reference (look at column #2)

*** init zstd
/sys/block/zram0/mm_stat
1750659072 504622188 514355200        0 514355200        1        0    34204    34204

*** init zstd dict=/home/ss/zstd-dict-amd64
/sys/block/zram0/mm_stat
1750650880 465908890 475398144        0 475398144        1        0    34185    34185

*** init zstd level=8 dict=/home/ss/zstd-dict-amd64
/sys/block/zram0/mm_stat
1750654976 430803319 439873536        0 439873536        1        0    34185    34185

*** init lz4
/sys/block/zram0/mm_stat
1750646784 664266564 677060608        0 677060608        1        0    34288    34288

*** init lz4 dict=/home/ss/lz4-dict-amd64
/sys/block/zram0/mm_stat
1750650880 619990300 632102912        0 632102912        1        0    34278    34278

*** init lz4hc
/sys/block/zram0/mm_stat
1750630400 609023822 621232128        0 621232128        1        0    34288    34288

*** init lz4hc dict=/home/ss/lz4-dict-amd64
/sys/block/zram0/mm_stat
1750659072 505133172 515231744        0 515231744        1        0    34278    34278

Recompress
init zram zstd (prio=0), zstd level=5 (prio 1), zstd with dict (prio 2)

*** zstd
/sys/block/zram0/mm_stat
1750982656 504630584 514269184        0 514269184        1        0    34204    34204

*** idle recompress priority=1 (zstd level=5)
/sys/block/zram0/mm_stat
1750982656 488645601 525438976        0 514269184        1        0    34204    34204

*** idle recompress priority=2 (zstd dict)
/sys/block/zram0/mm_stat
1750982656 460869640 517914624        0 514269184        1        0    34185    34204

This patch (of 24):

We need to export a number of API functions that enable advanced zstd
usage - C/D dictionaries, dictionaries sharing between contexts, etc.

Link: https://lkml.kernel.org/r/20240902105656.1383858-1-senozhatsky@chromium.org
Link: https://lkml.kernel.org/r/20240902105656.1383858-2-senozhatsky@chromium.org
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Nick Terrell <terrelln@fb.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
5 months agoMerge pull request #4321 from Cyan4973/win_artifacts
Yann Collet [Fri, 28 Feb 2025 20:35:06 +0000 (12:35 -0800)] 
Merge pull request #4321 from Cyan4973/win_artifacts

Automate Windows Artifact generation and publication

5 months agoautomatically upload windows artifact on Release Tag creation 4321/head
Yann Collet [Fri, 28 Feb 2025 20:04:06 +0000 (12:04 -0800)] 
automatically upload windows artifact on Release Tag creation

5 months agotest win artifact generation on pushing to release
Yann Collet [Fri, 28 Feb 2025 17:42:50 +0000 (09:42 -0800)] 
test win artifact generation on pushing to release

this will get a chance to check that win artifact generation works correctly
before creating the release tag.

5 months agoavoid double zipping
Yann Collet [Fri, 28 Feb 2025 17:33:22 +0000 (09:33 -0800)] 
avoid double zipping

5 months agoproper usage of standard variables
Yann Collet [Fri, 28 Feb 2025 00:59:40 +0000 (16:59 -0800)] 
proper usage of standard variables

5 months agofixed the script so that it fails when a copy fails
Yann Collet [Thu, 27 Feb 2025 22:33:49 +0000 (14:33 -0800)] 
fixed the script so that it fails when a copy fails

and also: fix the list of files, as `zdict.h` was incorrectly set.

5 months agoupdate build_package.bat by using a subrouting
Yann Collet [Thu, 27 Feb 2025 20:43:11 +0000 (12:43 -0800)] 
update build_package.bat by using a subrouting

5 months agoupdated zlib version to more recent v1.3.1
Yann Collet [Thu, 27 Feb 2025 19:38:04 +0000 (11:38 -0800)] 
updated zlib version to more recent v1.3.1

5 months agoensure that a copy error results in the task failing clearly
Yann Collet [Thu, 27 Feb 2025 19:36:25 +0000 (11:36 -0800)] 
ensure that a copy error results in the task failing clearly

error code != 0, red status

checked by intentionally inserting an error in another run

5 months agoMerge pull request #4322 from Cyan4973/meson_win
Yann Collet [Fri, 28 Feb 2025 00:17:34 +0000 (16:17 -0800)] 
Merge pull request #4322 from Cyan4973/meson_win

fix the meson windows build

5 months agotry to fix the meson windows build 4322/head
Yann Collet [Thu, 27 Feb 2025 23:44:40 +0000 (15:44 -0800)] 
try to fix the meson windows build

apparently could be just a missing include

5 months agoMerge pull request #4312 from Cyan4973/musl_ci
Yann Collet [Thu, 27 Feb 2025 22:27:21 +0000 (14:27 -0800)] 
Merge pull request #4312 from Cyan4973/musl_ci

introduce ZSTD_USE_C90_QSORT

5 months agoMerge pull request #4317 from hirohira9119/fix-function-signature
Yann Collet [Thu, 27 Feb 2025 21:03:03 +0000 (13:03 -0800)] 
Merge pull request #4317 from hirohira9119/fix-function-signature

Fix function signature mismatch for ZSTD_convertBlockSequences

5 months agoMerge pull request #4320 from sebres/patch-1
Yann Collet [Wed, 26 Feb 2025 23:15:03 +0000 (15:15 -0800)] 
Merge pull request #4320 from sebres/patch-1

build_package.bat: fix path to zstd_errors.h, avoid silently ignore of the errors if build failed

5 months agoMerge pull request #4319 from Cyan4973/Wconversion
Yann Collet [Wed, 26 Feb 2025 23:14:52 +0000 (15:14 -0800)] 
Merge pull request #4319 from Cyan4973/Wconversion

step towards -Wconversion

5 months agofixed minor C++ compat warnings 4319/head
Yann Collet [Wed, 26 Feb 2025 22:30:29 +0000 (14:30 -0800)] 
fixed minor C++ compat warnings

5 months agoGHA/windows-artifacts.yml: don't ignore the error if build-package batch failed 4320/head
Sergey G. Brester [Wed, 26 Feb 2025 19:13:44 +0000 (20:13 +0100)] 
GHA/windows-artifacts.yml: don't ignore the error if build-package batch failed

5 months agobuild_package.bat: don't swallow the error(s) by copy, exit with error if failed...
Sergey G. Brester [Wed, 26 Feb 2025 19:02:48 +0000 (20:02 +0100)] 
build_package.bat: don't swallow the error(s) by copy, exit with error if failed somewhere

5 months agobuild_package.bat: fix path to zstd_errors.h (it is in lib not in lib/common)
Sergey G. Brester [Wed, 26 Feb 2025 18:27:44 +0000 (19:27 +0100)] 
build_package.bat: fix path to zstd_errors.h (it is in lib not in lib/common)

closes gh-4318

5 months agofixed -Wconversion for lib/decompress/zstd_decompress_block.c
Yann Collet [Wed, 26 Feb 2025 18:01:05 +0000 (10:01 -0800)] 
fixed -Wconversion for lib/decompress/zstd_decompress_block.c

5 months agofixed -Wconversion for cover.c
Yann Collet [Wed, 26 Feb 2025 16:33:01 +0000 (08:33 -0800)] 
fixed -Wconversion for cover.c

5 months agofixed -Wconversion for divsufsort.c
Yann Collet [Wed, 26 Feb 2025 16:12:11 +0000 (08:12 -0800)] 
fixed -Wconversion for divsufsort.c

5 months agofixed -Wconversion for zdict
Yann Collet [Wed, 26 Feb 2025 16:07:51 +0000 (08:07 -0800)] 
fixed -Wconversion for zdict

5 months agofix conversion warning
Yann Collet [Wed, 26 Feb 2025 15:41:34 +0000 (07:41 -0800)] 
fix conversion warning

5 months agoFix function signature mismatch for ZSTD_convertBlockSequences 4317/head
hirohira [Tue, 25 Feb 2025 23:23:48 +0000 (08:23 +0900)] 
Fix function signature mismatch for ZSTD_convertBlockSequences

5 months agoMerge pull request #4310 from Cyan4973/cmake_target_compile
Yann Collet [Tue, 25 Feb 2025 18:04:10 +0000 (10:04 -0800)] 
Merge pull request #4310 from Cyan4973/cmake_target_compile

[cmake] use target_compile_definitions

5 months agoMerge pull request #4309 from Cyan4973/check_manual
Yann Collet [Mon, 24 Feb 2025 23:17:11 +0000 (15:17 -0800)] 
Merge pull request #4309 from Cyan4973/check_manual

Check API manual and man pages before release

5 months agoMerge pull request #4315 from facebook/dependabot/github_actions/msys2/setup-msys2...
Yann Collet [Mon, 24 Feb 2025 09:53:48 +0000 (01:53 -0800)] 
Merge pull request #4315 from facebook/dependabot/github_actions/msys2/setup-msys2-2.27.0

Bump msys2/setup-msys2 from 2.26.0 to 2.27.0

5 months agoBump msys2/setup-msys2 from 2.26.0 to 2.27.0 4315/head
dependabot[bot] [Mon, 24 Feb 2025 05:44:08 +0000 (05:44 +0000)] 
Bump msys2/setup-msys2 from 2.26.0 to 2.27.0

Bumps [msys2/setup-msys2](https://github.com/msys2/setup-msys2) from 2.26.0 to 2.27.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/d44ca8e88d8b43d56cf5670f91747359d5537f97...61f9e5e925871ba6c9e3e8da24ede83ea27fa91f)

---
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>
5 months agodocument ZSTD_USE_C90_QSORT 4312/head
Yann Collet [Fri, 21 Feb 2025 20:48:26 +0000 (12:48 -0800)] 
document ZSTD_USE_C90_QSORT

5 months agointroduce ZSTD_USE_C90_QSORT
Yann Collet [Fri, 21 Feb 2025 19:36:30 +0000 (11:36 -0800)] 
introduce ZSTD_USE_C90_QSORT

5 months agoadded musl compilation test in CI
Yann Collet [Fri, 21 Feb 2025 17:57:55 +0000 (09:57 -0800)] 
added musl compilation test in CI

5 months ago[cmake] use target_compile_definitions 4310/head
Yann Collet [Thu, 20 Feb 2025 23:21:48 +0000 (15:21 -0800)] 
[cmake] use target_compile_definitions

which is considered best practice.

5 months agocheck man page update 4309/head
Yann Collet [Thu, 20 Feb 2025 21:14:11 +0000 (13:14 -0800)] 
check man page update

5 months agoadd CI check for zstd_manual before release
Yann Collet [Thu, 20 Feb 2025 19:46:14 +0000 (11:46 -0800)] 
add CI check for zstd_manual before release

ensures it's properly updated

5 months agoMerge pull request #4302 from facebook/man157
Yann Collet [Thu, 20 Feb 2025 00:56:55 +0000 (16:56 -0800)] 
Merge pull request #4302 from facebook/man157

updated man pages and manual

5 months agoupdated man pages and manual 4302/head
Yann Collet [Thu, 20 Feb 2025 00:25:00 +0000 (16:25 -0800)] 
updated man pages and manual

fixes #4301

5 months agoMerge pull request #4300 from facebook/bench_157
Yann Collet [Wed, 19 Feb 2025 06:18:57 +0000 (22:18 -0800)] 
Merge pull request #4300 from facebook/bench_157

updated benchmark numbers for v1.5.7

5 months agoupdated benchmark numbers 4300/head
Yann Collet [Wed, 19 Feb 2025 05:22:02 +0000 (21:22 -0800)] 
updated benchmark numbers

using latest version of @inikep's lzbench

5 months agofaster clang-msan-testzstd
Yann Collet [Wed, 19 Feb 2025 00:19:18 +0000 (16:19 -0800)] 
faster clang-msan-testzstd

this is by far our longest CI test.
Attempt to make it run a bit faster.

5 months agoMerge pull request #4299 from facebook/ga_harden 4298/head
Yann Collet [Tue, 18 Feb 2025 23:26:29 +0000 (15:26 -0800)] 
Merge pull request #4299 from facebook/ga_harden

Improved Github Actions scorecards

5 months agopinned dependency hash 4299/head
Yann Collet [Tue, 18 Feb 2025 22:53:31 +0000 (14:53 -0800)] 
pinned dependency hash

5 months agoharden github actions script Android NDK Build
Yann Collet [Tue, 18 Feb 2025 22:50:03 +0000 (14:50 -0800)] 
harden github actions script Android NDK Build

5 months agoMerge pull request #4297 from facebook/changelog157
Yann Collet [Tue, 18 Feb 2025 22:35:24 +0000 (14:35 -0800)] 
Merge pull request #4297 from facebook/changelog157

update changelog for v1.5.7

5 months agoupdate changelog for v1.5.7 4297/head
Yann Collet [Tue, 18 Feb 2025 21:42:54 +0000 (13:42 -0800)] 
update changelog for v1.5.7

5 months agoMerge pull request #4274 from luau-project/intel-compilers
Yann Collet [Fri, 14 Feb 2025 04:21:35 +0000 (20:21 -0800)] 
Merge pull request #4274 from luau-project/intel-compilers

CI: enable Intel LLVM C compiler (icx) check

5 months agoMerge pull request #4293 from facebook/rip-ubuntu20
Yann Collet [Fri, 14 Feb 2025 04:21:10 +0000 (20:21 -0800)] 
Merge pull request #4293 from facebook/rip-ubuntu20

Fixed CI

5 months agodisabled BTI test 4293/head
Yann Collet [Tue, 11 Feb 2025 21:20:15 +0000 (13:20 -0800)] 
disabled BTI test

this test seems impossible on Ubuntu-24

5 months agofaster aarch64 test execution
Yann Collet [Tue, 11 Feb 2025 21:11:29 +0000 (13:11 -0800)] 
faster aarch64 test execution

5 months agominor arm64 test script clarification
Yann Collet [Tue, 11 Feb 2025 20:58:35 +0000 (12:58 -0800)] 
minor arm64 test script clarification

5 months agoupdated FreeBSD VM to 14.2
Yann Collet [Tue, 11 Feb 2025 20:52:59 +0000 (12:52 -0800)] 
updated FreeBSD VM to 14.2

14.1 seems no longer supported by gcloud

5 months agoupdate arm64 test
Yann Collet [Tue, 11 Feb 2025 19:43:23 +0000 (11:43 -0800)] 
update arm64 test

for ubuntu-24

5 months agoremoving x32 tests
Yann Collet [Tue, 11 Feb 2025 19:37:18 +0000 (11:37 -0800)] 
removing x32 tests

this ABI is no longer supported by Ubuntu,
and there is a wider consensus that this ABI is on the way out,
with more and more distributions dropping it,
and lingering questions about support of x32 in the kernel.

5 months agomove qemu tests to ubuntu24
Yann Collet [Tue, 11 Feb 2025 17:57:18 +0000 (09:57 -0800)] 
move qemu tests to ubuntu24

5 months agoubuntu 20 is being deprecated
Yann Collet [Tue, 11 Feb 2025 17:19:08 +0000 (09:19 -0800)] 
ubuntu 20 is being deprecated

change ubuntu20 tests to use more modern ubuntu variants

5 months agoMerge pull request #4288 from facebook/stronger_patchfrom
Yann Collet [Mon, 10 Feb 2025 20:09:16 +0000 (12:09 -0800)] 
Merge pull request #4288 from facebook/stronger_patchfrom

Improve compression ratio of the --patch-from mode

5 months agoupdate hrlog comment 4288/head
Yann Collet [Mon, 10 Feb 2025 18:48:56 +0000 (10:48 -0800)] 
update hrlog comment

5 months agoderive hashratelog from hashlog when only hashlog is set
Yann Collet [Sun, 9 Feb 2025 19:11:49 +0000 (11:11 -0800)] 
derive hashratelog from hashlog when only hashlog is set

5 months agoupdate ldm compression results
Yann Collet [Sun, 9 Feb 2025 00:16:35 +0000 (16:16 -0800)] 
update ldm compression results

5 months agoadjust mml
Yann Collet [Sat, 8 Feb 2025 22:27:29 +0000 (14:27 -0800)] 
adjust mml

5 months agofix boundary condition
Yann Collet [Sat, 8 Feb 2025 06:47:57 +0000 (22:47 -0800)] 
fix boundary condition

5 months agoupdate hrlog rule to favor compression ratio a bit more at low levels
Yann Collet [Sat, 8 Feb 2025 02:57:44 +0000 (18:57 -0800)] 
update hrlog rule to favor compression ratio a bit more at low levels

5 months agoupdate results from the --long mode
Yann Collet [Sat, 8 Feb 2025 01:40:54 +0000 (17:40 -0800)] 
update results from the --long mode

5 months agoupdated LDM documentation
Yann Collet [Sat, 8 Feb 2025 01:15:24 +0000 (17:15 -0800)] 
updated LDM documentation

5 months agodynamic bucket sizes
Yann Collet [Sat, 8 Feb 2025 00:59:34 +0000 (16:59 -0800)] 
dynamic bucket sizes

5 months agodynamically adjust hratelog and ldmml based on strategy
Yann Collet [Fri, 7 Feb 2025 23:58:42 +0000 (15:58 -0800)] 
dynamically adjust hratelog and ldmml based on strategy

5 months agoMerge pull request #4289 from facebook/autoultra
Yann Collet [Mon, 10 Feb 2025 18:38:28 +0000 (10:38 -0800)] 
Merge pull request #4289 from facebook/autoultra

--ultra automatically triggered with --long and --patch-from

5 months agoMerge pull request #4290 from facebook/lmax
Yann Collet [Mon, 10 Feb 2025 18:38:00 +0000 (10:38 -0800)] 
Merge pull request #4290 from facebook/lmax

--max command

5 months agoMerge pull request #4291 from facebook/dependabot/github_actions/github/codeql-action...
Yann Collet [Mon, 10 Feb 2025 07:45:47 +0000 (23:45 -0800)] 
Merge pull request #4291 from facebook/dependabot/github_actions/github/codeql-action-3.28.9

Bump github/codeql-action from 3.28.1 to 3.28.9

5 months agomodifies command echoing for macos / linux compatibility 4290/head
Yann Collet [Mon, 10 Feb 2025 07:41:32 +0000 (23:41 -0800)] 
modifies command echoing for macos / linux compatibility

5 months agodisable --max in 32-bit mode
Yann Collet [Mon, 10 Feb 2025 07:14:16 +0000 (23:14 -0800)] 
disable --max in 32-bit mode

5 months agoupdate test for 32-bit mode
Yann Collet [Mon, 10 Feb 2025 07:02:14 +0000 (23:02 -0800)] 
update test for 32-bit mode

--max doesn't work in 32-bit mode, due to address space limitation

5 months agoBump github/codeql-action from 3.28.1 to 3.28.9 4291/head
dependabot[bot] [Mon, 10 Feb 2025 05:36:44 +0000 (05:36 +0000)] 
Bump github/codeql-action from 3.28.1 to 3.28.9

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.1 to 3.28.9.
- [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/b6a472f63d85b9c78a3ac5e89422239fc15e9b3c...9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0)

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

Signed-off-by: dependabot[bot] <support@github.com>
5 months agoreinforce man page warning
Yann Collet [Mon, 10 Feb 2025 01:25:35 +0000 (17:25 -0800)] 
reinforce man page warning

32-bit is unsuitable for --max

5 months agoadjusted mml heuristic
Yann Collet [Mon, 10 Feb 2025 01:24:12 +0000 (17:24 -0800)] 
adjusted mml heuristic

5 months agoadded --max to test suite
Yann Collet [Sun, 9 Feb 2025 20:26:36 +0000 (12:26 -0800)] 
added --max to test suite

5 months agoadd man entry for --max
Yann Collet [Sun, 9 Feb 2025 19:51:25 +0000 (11:51 -0800)] 
add man entry for --max

5 months agoadded a new --max command
Yann Collet [Sun, 9 Feb 2025 19:38:44 +0000 (11:38 -0800)] 
added a new --max command

set parameters to maximum compression
(even more than -22)

5 months ago--ultra automatically triggered with --long and --patch-from 4289/head
Yann Collet [Sun, 9 Feb 2025 06:47:05 +0000 (22:47 -0800)] 
--ultra automatically triggered with --long and --patch-from

the purpose of --ultra is to make the user explicitly opt-in
to generate very large window size (> 8 MB).

The agreement to generate very large window size is already implicit
when selecting --long or --patch-from.

Consequently, `--ultra ` is automatically enabled when `--long` or `--patch-from` is set.

5 months agoMerge pull request #4284 from facebook/mesonNoexec
Yann Collet [Thu, 6 Feb 2025 18:55:44 +0000 (10:55 -0800)] 
Merge pull request #4284 from facebook/mesonNoexec

Add noexecstack flag for gcc/clang C and CPP in Meson

5 months agoMerge pull request #4276 from facebook/fix_patchfrom_hc_speed
Yann Collet [Thu, 6 Feb 2025 04:12:56 +0000 (20:12 -0800)] 
Merge pull request #4276 from facebook/fix_patchfrom_hc_speed

fix speed of --patch-from mode at high compression levels

5 months agoRevert "pass dictionary loading method as parameter" 4276/head
Yann Collet [Thu, 6 Feb 2025 02:47:26 +0000 (18:47 -0800)] 
Revert "pass dictionary loading method as parameter"

This reverts commit 821fc567f93a415e9fbe856271ccd452ee7acf07.

5 months agobetter MT fluidity
Yann Collet [Sat, 1 Feb 2025 08:41:36 +0000 (00:41 -0800)] 
better MT fluidity

--patch-from no longer blocked on first job dictionary loading

5 months agoensure cdict is properly reset to NULL
Yann Collet [Sat, 1 Feb 2025 08:55:52 +0000 (00:55 -0800)] 
ensure cdict is properly reset to NULL

5 months agoskips the need to create a temporary cdict for --patch-from
Yann Collet [Sat, 1 Feb 2025 04:57:21 +0000 (20:57 -0800)] 
skips the need to create a temporary cdict for --patch-from

thus saving a bit of memory and a little bit of cpu time

5 months agoreduced memory usage
Yann Collet [Sat, 1 Feb 2025 02:19:45 +0000 (18:19 -0800)] 
reduced memory usage

by avoiding to duplicate in memory
a dictionary that was passed by reference.

5 months agoalways free .cdictLocal
Yann Collet [Fri, 31 Jan 2025 23:53:25 +0000 (15:53 -0800)] 
always free .cdictLocal

5 months agoupdate type naming convention
Yann Collet [Fri, 31 Jan 2025 23:00:36 +0000 (15:00 -0800)] 
update type naming convention

5 months agominor boundary change
Yann Collet [Fri, 31 Jan 2025 02:05:58 +0000 (18:05 -0800)] 
minor boundary change

improves compression ratio at low levels

5 months agofix speed of --patch-from at high compression mode
Yann Collet [Thu, 30 Jan 2025 23:58:20 +0000 (15:58 -0800)] 
fix speed of --patch-from at high compression mode

5 months agoMerge pull request #4287 from facebook/warn_error
Yann Collet [Thu, 6 Feb 2025 01:42:54 +0000 (17:42 -0800)] 
Merge pull request #4287 from facebook/warn_error

visual studio compilation tests: error out on warnings

5 months agofix minor conversion warnings 4287/head
Yann Collet [Thu, 6 Feb 2025 01:01:19 +0000 (17:01 -0800)] 
fix minor conversion warnings

5 months agomore %zu warnings fixes
Yann Collet [Thu, 6 Feb 2025 00:48:19 +0000 (16:48 -0800)] 
more %zu warnings fixes

5 months agofix more %zu warnings
Yann Collet [Thu, 6 Feb 2025 00:36:54 +0000 (16:36 -0800)] 
fix more %zu warnings

5 months agofix minor printf argument limitation on older mingw
Yann Collet [Thu, 6 Feb 2025 00:28:52 +0000 (16:28 -0800)] 
fix minor printf argument limitation on older mingw

which do not support `%zu` fields