Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce streaming decompression memory by (128KB - blockSizeMax) #3616

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

terrelln
Copy link
Contributor

@terrelln terrelln commented Apr 14, 2023

The split literals buffer patch (PR #2751) increased streaming decompression memory by 64KB (shrunk lit buffer from 128KB to 64KB, and added 128KB). This patch shrinks the fixed 128KB buffer to the actual blockSizeMax. So for windowSize = 64KB, this patch saves 64KB.

The original patch just used ZSTD_BLOCKSIZE_MAX for simplicity, but that is wasteful when the maximum block size is smaller.

RFC: A follow up to this PR is to allow configuring ZSTD_d_maxBlockSize to match ZSTD_c_maxBlockSize. This flag would reject frames with blocks larger than the configured ZSTD_d_maxBlockSize. For example, if the windowSize = 64KB, and maxBlockSize = 4KB, then we'd save 2 * (64KB - 4KB) = 120KB from the ZSTD_DCtx on top of the 64KB this patch would save.

@terrelln terrelln marked this pull request as draft April 14, 2023 21:34
@terrelln terrelln force-pushed the 2023-04-12-decompression-memory-fix branch from 752a348 to 474b281 Compare April 14, 2023 23:18
@terrelln terrelln changed the title Reduce streaming decompression memory by 128KB Reduce streaming decompression memory by (128KB - blockSizeMax) Apr 14, 2023
@terrelln terrelln force-pushed the 2023-04-12-decompression-memory-fix branch from 474b281 to f479e1a Compare April 14, 2023 23:26
@terrelln terrelln marked this pull request as ready for review April 14, 2023 23:27
@terrelln terrelln force-pushed the 2023-04-12-decompression-memory-fix branch from f479e1a to 676c2d8 Compare April 15, 2023 00:02
The split literals buffer patch increased streaming decompression memory
by 64KB (shrunk lit buffer from 128KB to 64KB, and added 128KB). This
patch removes the added 128KB buffer, because it isn't necessary.

The buffer was there because the literals compression code didn't know
the true `blockSizeMax` of the frame, and always put split literals so
they ended 128KB - 32 from the beginning of the block. Instead, we can
pass down the true `blockSizeMax` and ensure that the split literals
end up at `blockSizeMax - 32` from the beginning of the block. We
already reserve a full `blockSizeMax` bytes in streaming mode, so we
won't be overwriting the extDict window.
terrelln added a commit to terrelln/zstd that referenced this pull request Apr 15, 2023
Reduces memory when blocks are guaranteed to be smaller than allowed by
the format. This is useful for streaming compression in conjunction with
ZSTD_c_maxBlockSize.

This PR saves 2 * (formatMaxBlockSize - paramMaxBlockSize) when streaming.
Once it is rebased on top of PR facebook#3616 it will save
3 * (formatMaxBlockSize - paramMaxBlockSize).
terrelln added a commit to terrelln/zstd that referenced this pull request Apr 15, 2023
Reduces memory when blocks are guaranteed to be smaller than allowed by
the format. This is useful for streaming compression in conjunction with
ZSTD_c_maxBlockSize.

This PR saves 2 * (formatMaxBlockSize - paramMaxBlockSize) when streaming.
Once it is rebased on top of PR facebook#3616 it will save
3 * (formatMaxBlockSize - paramMaxBlockSize).
terrelln added a commit to terrelln/zstd that referenced this pull request Apr 15, 2023
Reduces memory when blocks are guaranteed to be smaller than allowed by
the format. This is useful for streaming compression in conjunction with
ZSTD_c_maxBlockSize.

This PR saves 2 * (formatMaxBlockSize - paramMaxBlockSize) when streaming.
Once it is rebased on top of PR facebook#3616 it will save
3 * (formatMaxBlockSize - paramMaxBlockSize).
@terrelln
Copy link
Contributor Author

terrelln commented Apr 15, 2023

This PR should be relatively safe, because it isn't doing anything that complex. We are keeping all the same assumptions, just reducing ZSTD_BLOCKSIZE_MAX to blockSizeMax.

The savings were less than I was thinking, because trying to do anything more gets complex. But, it combines nicely with PR #3617, and together we get big memory savings for use cases that force a small block size. E.g. for streaming 4KB packets over the network.

@terrelln terrelln merged commit 0abf2ba into facebook:dev Apr 17, 2023
terrelln added a commit to terrelln/zstd that referenced this pull request Apr 17, 2023
Reduces memory when blocks are guaranteed to be smaller than allowed by
the format. This is useful for streaming compression in conjunction with
ZSTD_c_maxBlockSize.

This PR saves 2 * (formatMaxBlockSize - paramMaxBlockSize) when streaming.
Once it is rebased on top of PR facebook#3616 it will save
3 * (formatMaxBlockSize - paramMaxBlockSize).
terrelln added a commit that referenced this pull request Apr 18, 2023
Reduces memory when blocks are guaranteed to be smaller than allowed by
the format. This is useful for streaming compression in conjunction with
ZSTD_c_maxBlockSize.

This PR saves 2 * (formatMaxBlockSize - paramMaxBlockSize) when streaming.
Once it is rebased on top of PR #3616 it will save
3 * (formatMaxBlockSize - paramMaxBlockSize).
anakinxc referenced this pull request in secretflow/spu Mar 27, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [com_github_facebook_zstd](https://github.com/facebook/zstd) |
http_archive | patch | `v1.5.5` -> `v1.5.6` |

---

### Release Notes

<details>
<summary>facebook/zstd (com_github_facebook_zstd)</summary>

### [`v1.5.6`](https://github.com/facebook/zstd/releases/tag/v1.5.6):
Zstandard v1.5.6 - Chrome Edition

[Compare
Source](https://github.com/facebook/zstd/compare/v1.5.5-kernel...v1.5.6)

This release highlights the deployment of Google [Chrome
123](https://developer.chrome.com/blog/new-in-chrome-123), introducing
`zstd-encoding` for Web traffic, introduced as a preferable option for
compression of dynamic contents. With limited web server support for
`zstd-encoding` due to its novelty, we are launching an updated
Zstandard version to facilitate broader adoption.

##### New stable parameter `ZSTD_c_targetCBlockSize`

Using `zstd` compression for large documents over the Internet, data is
segmented into smaller blocks of up to 128 KB, for incremental updates.
This is crucial for applications like Chrome that process parts of
documents as they arrive. However, on slow or congested networks, there
can be some brief unresponsiveness in the middle of a block
transmission, delaying update. To mitigate such scenarios, `libzstd`
introduces the new parameter `ZSTD_c_targetCBlockSize`, enabling the
division of blocks into even smaller segments to enhance initial byte
delivery speed. Activating this feature incurs a cost, both runtime
(equivalent to -2% speed at level 8) and a slight compression efficiency
decrease (<0.1%), but offers some interesting latency reduction, notably
beneficial in areas with less powerful network infrastructure.

##### Granular binary size selection

`libzstd` provides build customization, including options to compile
only the compression or decompression modules, minimizing binary size.
Enhanced in `v1.5.6`
([source](https://github.com/facebook/zstd/tree/dev/lib#modular-build)),
it now allows for even finer control by enabling selective inclusion or
exclusion of specific components within these modules. This advancement
aids applications needing precise binary size management.

##### Miscellaneous Enhancements

This release includes various minor enhancements and bug fixes to
enhance user experience. Key updates include an expanded list of
recognized compressed file suffixes for the `--exclude-compressed` flag,
improving efficiency by skipping presumed incompressible content.
Furthermore, compatibility has been broadened to include additional
chipsets (`sparc64`, `ARM64EC`, `risc-v`) and operating systems (`QNX`,
`AIX`, `Solaris`, `HP-UX`).

#### Change Log

api: Promote `ZSTD_c_targetCBlockSize` to Stable API by
[@&#8203;felixhandte](https://github.com/felixhandte)
api: new experimental `ZSTD_d_maxBlockSize` parameter, to reduce
streaming decompression memory, by
[@&#8203;terrelln](https://github.com/terrelln)
perf: improve performance of param `ZSTD_c_targetCBlockSize`, by
[@&#8203;Cyan4973](https://github.com/Cyan4973)
perf: improved compression of arrays of integers at high compression, by
[@&#8203;Cyan4973](https://github.com/Cyan4973)
lib: reduce binary size with selective built-time exclusion, by
[@&#8203;felixhandte](https://github.com/felixhandte)
lib: improved huffman speed on small data and linux kernel, by
[@&#8203;terrelln](https://github.com/terrelln)
lib: accept dictionaries with partial literal tables, by
[@&#8203;terrelln](https://github.com/terrelln)
lib: fix CCtx size estimation with external sequence producer, by
[@&#8203;embg](https://github.com/embg)
lib: fix corner case decoder behaviors, by
[@&#8203;Cyan4973](https://github.com/Cyan4973) and
[@&#8203;aimuz](https://github.com/aimuz)
lib: fix zdict prototype mismatch in static_only mode, by
[@&#8203;ldv-alt](https://github.com/ldv-alt)
lib: fix several bugs in magicless-format decoding, by
[@&#8203;embg](https://github.com/embg)
cli: add common compressed file types to `--exclude-compressed` by
[@&#8203;daniellerozenblit](https://github.com/daniellerozenblit)
(requested by [@&#8203;dcog989](https://github.com/dcog989))
cli: fix mixing `-c` and `-o` commands with `--rm`, by
[@&#8203;Cyan4973](https://github.com/Cyan4973)
cli: fix erroneous exclusion of hidden files with `--output-dir-mirror`
by [@&#8203;felixhandte](https://github.com/felixhandte)
cli: improved time accuracy on BSD, by
[@&#8203;felixhandte](https://github.com/felixhandte)
cli: better errors on argument parsing, by
[@&#8203;KapJI](https://github.com/KapJI)
tests: better compatibility with older versions of `grep`, by
[@&#8203;Cyan4973](https://github.com/Cyan4973)
tests: lorem ipsum generator as default content generator, by
[@&#8203;Cyan4973](https://github.com/Cyan4973)
build: cmake improvements by
[@&#8203;terrelln](https://github.com/terrelln),
[@&#8203;sighingnow](https://github.com/sighingnow),
[@&#8203;gjasny](https://github.com/gjasny),
[@&#8203;JohanMabille](https://github.com/JohanMabille),
[@&#8203;Saverio976](https://github.com/Saverio976),
[@&#8203;gruenich](https://github.com/gruenich),
[@&#8203;teo-tsirpanis](https://github.com/teo-tsirpanis)
build: bazel support, by
[@&#8203;jondo2010](https://github.com/jondo2010)
build: fix cross-compiling for AArch64 with lld by
[@&#8203;jcelerier](https://github.com/jcelerier)
build: fix Apple platform compatibility, by
[@&#8203;nidhijaju](https://github.com/nidhijaju)
build: fix Visual 2012 and lower compatibility, by
[@&#8203;Cyan4973](https://github.com/Cyan4973)
build: improve win32 support, by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
build: better C90 compliance for zlibWrapper, by
[@&#8203;emaste](https://github.com/emaste)
port: make: fat binaries on macos, by
[@&#8203;mredig](https://github.com/mredig)
port: ARM64EC compatibility for Windows, by
[@&#8203;dunhor](https://github.com/dunhor)
port: QNX support by
[@&#8203;klausholstjacobsen](https://github.com/klausholstjacobsen)
port: MSYS2 and Cygwin makefile installation and test support, by
[@&#8203;QBos07](https://github.com/QBos07)
port: risc-v support validation in CI, by
[@&#8203;Cyan4973](https://github.com/Cyan4973)
port: sparc64 support validation in CI, by
[@&#8203;Cyan4973](https://github.com/Cyan4973)
port: AIX compatibility, by
[@&#8203;likema](https://github.com/likema)
port: HP-UX compatibility, by
[@&#8203;likema](https://github.com/likema)
doc: Improved specification accuracy, by
[@&#8203;elasota](https://github.com/elasota)
bug: Fix and deprecate ZSTD_generateSequences
([#&#8203;3981](https://github.com/facebook/zstd/issues/3981)), by
[@&#8203;terrelln](https://github.com/terrelln)

#### Full change list (auto-generated)

- Add win32 to windows-artifacts.yml by
[@&#8203;Kim-SSi](https://github.com/Kim-SSi) in
[https://github.com/facebook/zstd/pull/3600](https://github.com/facebook/zstd/pull/3600)
- Fix mmap-dict help output by
[@&#8203;daniellerozenblit](https://github.com/daniellerozenblit) in
[https://github.com/facebook/zstd/pull/3601](https://github.com/facebook/zstd/pull/3601)
- \[oss-fuzz] Fix simple_round_trip fuzzer with overlapping
decompression by [@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3612](https://github.com/facebook/zstd/pull/3612)
- Reduce streaming decompression memory by (128KB - blockSizeMax) by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3616](https://github.com/facebook/zstd/pull/3616)
- removed travis & appveyor scripts by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3621](https://github.com/facebook/zstd/pull/3621)
- Add ZSTD_d_maxBlockSize parameter by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3617](https://github.com/facebook/zstd/pull/3617)
- \[doc] add decoder errata paragraph by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3620](https://github.com/facebook/zstd/pull/3620)
- add makefile entry to build fat binary on macos by
[@&#8203;mredig](https://github.com/mredig) in
[https://github.com/facebook/zstd/pull/3614](https://github.com/facebook/zstd/pull/3614)
- Disable unused variable warning in msan configurations by
[@&#8203;danlark1](https://github.com/danlark1) in
[https://github.com/facebook/zstd/pull/3624](https://github.com/facebook/zstd/pull/3624)

[https://github.com/facebook/zstd/pull/3634](https://github.com/facebook/zstd/pull/3634)3634
- Allow Build-Time Exclusion of Individual Compression Strategies by
[@&#8203;felixhandte](https://github.com/felixhandte) in
[https://github.com/facebook/zstd/pull/3623](https://github.com/facebook/zstd/pull/3623)
- Get zstd working with ARM64EC on Windows by
[@&#8203;dunhor](https://github.com/dunhor) in
[https://github.com/facebook/zstd/pull/3636](https://github.com/facebook/zstd/pull/3636)
- minor : update streaming_compression example by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3631](https://github.com/facebook/zstd/pull/3631)
- Fix UBSAN issue (zero addition to NULL) by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3658](https://github.com/facebook/zstd/pull/3658)
- Add options in Makefile to cmake by
[@&#8203;sighingnow](https://github.com/sighingnow) in
[https://github.com/facebook/zstd/pull/3657](https://github.com/facebook/zstd/pull/3657)
- fix a minor inefficiency in compress_superblock by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3668](https://github.com/facebook/zstd/pull/3668)
- Fixed a bug in the educational decoder by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3659](https://github.com/facebook/zstd/pull/3659)
- changed LLU suffix into ULL for Visual 2012 and lower by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3664](https://github.com/facebook/zstd/pull/3664)
- fixed decoder behavior when nbSeqs==0 is encoded using 2 bytes by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3669](https://github.com/facebook/zstd/pull/3669)
- detect extraneous bytes in the Sequences section by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3674](https://github.com/facebook/zstd/pull/3674)
- Bitstream produces only zeroes after an overflow event by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3676](https://github.com/facebook/zstd/pull/3676)
- Update FreeBSD CI images to latest supported releases by
[@&#8203;emaste](https://github.com/emaste) in
[https://github.com/facebook/zstd/pull/3684](https://github.com/facebook/zstd/pull/3684)
- Clean up a false error message in the LDM debug log by
[@&#8203;embg](https://github.com/embg) in
[https://github.com/facebook/zstd/pull/3686](https://github.com/facebook/zstd/pull/3686)
- Hide ASM symbols on Apple platforms by
[@&#8203;nidhijaju](https://github.com/nidhijaju) in
[https://github.com/facebook/zstd/pull/3688](https://github.com/facebook/zstd/pull/3688)
- Changed the decoding loop to detect more invalid cases of corruption
sooner by [@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3677](https://github.com/facebook/zstd/pull/3677)
- Fix Intel Xcode builds with assembly by
[@&#8203;gjasny](https://github.com/gjasny) in
[https://github.com/facebook/zstd/pull/3665](https://github.com/facebook/zstd/pull/3665)
- Save one byte on the frame epilogue by
[@&#8203;Coder-256](https://github.com/Coder-256) in
[https://github.com/facebook/zstd/pull/3700](https://github.com/facebook/zstd/pull/3700)
- Update fileio.c: fix build failure with enabled LTO by
[@&#8203;LocutusOfBorg](https://github.com/LocutusOfBorg) in
[https://github.com/facebook/zstd/pull/3695](https://github.com/facebook/zstd/pull/3695)
- fileio_asyncio: handle malloc fails in AIO_ReadPool_create by
[@&#8203;void0red](https://github.com/void0red) in
[https://github.com/facebook/zstd/pull/3704](https://github.com/facebook/zstd/pull/3704)
- Fix typographical error in README.md by
[@&#8203;nikohoffren](https://github.com/nikohoffren) in
[https://github.com/facebook/zstd/pull/3701](https://github.com/facebook/zstd/pull/3701)
- Fixed typo by
[@&#8203;alexsifivetw](https://github.com/alexsifivetw) in
[https://github.com/facebook/zstd/pull/3712](https://github.com/facebook/zstd/pull/3712)
- Improve dual license wording in README by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3718](https://github.com/facebook/zstd/pull/3718)
- Unpoison Workspace Memory Before Custom-Free by
[@&#8203;felixhandte](https://github.com/felixhandte) in
[https://github.com/facebook/zstd/pull/3725](https://github.com/facebook/zstd/pull/3725)
- added ZSTD_decompressDCtx() benchmark option to fullbench by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3726](https://github.com/facebook/zstd/pull/3726)
- No longer reject dictionaries with literals maxSymbolValue < 255 by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3731](https://github.com/facebook/zstd/pull/3731)
- fix: ZSTD_BUILD_DECOMPRESSION message by
[@&#8203;0o001](https://github.com/0o001) in
[https://github.com/facebook/zstd/pull/3728](https://github.com/facebook/zstd/pull/3728)
- Updated Makefiles for full MSYS2 and Cygwin installation and testing …
by [@&#8203;QBos07](https://github.com/QBos07) in
[https://github.com/facebook/zstd/pull/3720](https://github.com/facebook/zstd/pull/3720)
- Work around nullptr-with-nonzero-offset warning by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3738](https://github.com/facebook/zstd/pull/3738)
- Fix & refactor Huffman repeat tables for dictionaries by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3737](https://github.com/facebook/zstd/pull/3737)
- zdictlib: fix prototype mismatch by
[@&#8203;ldv-alt](https://github.com/ldv-alt) in
[https://github.com/facebook/zstd/pull/3733](https://github.com/facebook/zstd/pull/3733)
- Fixed zstd cmake shared build on windows by
[@&#8203;JohanMabille](https://github.com/JohanMabille) in
[https://github.com/facebook/zstd/pull/3739](https://github.com/facebook/zstd/pull/3739)
- Added qnx in the posix test section of platform.h by
[@&#8203;klausholstjacobsen](https://github.com/klausholstjacobsen) in
[https://github.com/facebook/zstd/pull/3745](https://github.com/facebook/zstd/pull/3745)
- added some documentation on ZSTD_estimate\*Size() variants by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3755](https://github.com/facebook/zstd/pull/3755)
- Improve macro guards for ZSTD_assertValidSequence by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3770](https://github.com/facebook/zstd/pull/3770)
- Stop suppressing pointer-overflow UBSAN errors by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3776](https://github.com/facebook/zstd/pull/3776)
- fix x32 tests on Github CI by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3777](https://github.com/facebook/zstd/pull/3777)
- Fix new typos found by codespell by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/facebook/zstd/pull/3771](https://github.com/facebook/zstd/pull/3771)
- Do not test WIN32, instead test \_WIN32 by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/facebook/zstd/pull/3772](https://github.com/facebook/zstd/pull/3772)
- Fix a very small formatting typo in the lib/README.md file by
[@&#8203;dloidolt](https://github.com/dloidolt) in
[https://github.com/facebook/zstd/pull/3763](https://github.com/facebook/zstd/pull/3763)
- Fix pzstd Makefile to allow setting `DESTDIR` and `BINDIR` separately
by [@&#8203;paulmenzel](https://github.com/paulmenzel) in
[https://github.com/facebook/zstd/pull/3752](https://github.com/facebook/zstd/pull/3752)
- Remove FlexArray pattern from ZSTDMT by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3786](https://github.com/facebook/zstd/pull/3786)
- solving flexArray issue
[#&#8203;3785](https://github.com/facebook/zstd/issues/3785) in fse by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3789](https://github.com/facebook/zstd/pull/3789)
- Add doc on how to use it with cmake FetchContent by
[@&#8203;Saverio976](https://github.com/Saverio976) in
[https://github.com/facebook/zstd/pull/3795](https://github.com/facebook/zstd/pull/3795)
- Correct FSE probability bit consumption in specification by
[@&#8203;elasota](https://github.com/elasota) in
[https://github.com/facebook/zstd/pull/3806](https://github.com/facebook/zstd/pull/3806)
- Add Bazel module instructions to README.md by
[@&#8203;jondo2010](https://github.com/jondo2010) in
[https://github.com/facebook/zstd/pull/3812](https://github.com/facebook/zstd/pull/3812)
- Clarify that a stream containing too many Huffman weights is invalid
by [@&#8203;elasota](https://github.com/elasota) in
[https://github.com/facebook/zstd/pull/3813](https://github.com/facebook/zstd/pull/3813)
- \[cmake] Require CMake version 3.5 or newer by
[@&#8203;gruenich](https://github.com/gruenich) in
[https://github.com/facebook/zstd/pull/3807](https://github.com/facebook/zstd/pull/3807)
- Three fixes for the Linux kernel by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3822](https://github.com/facebook/zstd/pull/3822)
- \[huf] Improve fast huffman decoding speed in linux kernel by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3826](https://github.com/facebook/zstd/pull/3826)
- \[huf] Improve fast C & ASM performance on small data by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3827](https://github.com/facebook/zstd/pull/3827)
- update xxhash library to v0.8.2 by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3820](https://github.com/facebook/zstd/pull/3820)
- Modernize macros to use `do { } while (0)` by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3831](https://github.com/facebook/zstd/pull/3831)
- Clarify that the presence of weight value 1 is required, and a lone
implied 1 weight is invalid by
[@&#8203;elasota](https://github.com/elasota) in
[https://github.com/facebook/zstd/pull/3814](https://github.com/facebook/zstd/pull/3814)
- Move offload API params into ZSTD_CCtx_params by
[@&#8203;embg](https://github.com/embg) in
[https://github.com/facebook/zstd/pull/3839](https://github.com/facebook/zstd/pull/3839)
- Update FreeBSD CI: drop 12.4 (nearly EOL) by
[@&#8203;emaste](https://github.com/emaste) in
[https://github.com/facebook/zstd/pull/3845](https://github.com/facebook/zstd/pull/3845)
- Make offload API compatible with static CCtx by
[@&#8203;embg](https://github.com/embg) in
[https://github.com/facebook/zstd/pull/3854](https://github.com/facebook/zstd/pull/3854)
- zlibWrapper: convert to C89 / ANSI C by
[@&#8203;emaste](https://github.com/emaste) in
[https://github.com/facebook/zstd/pull/3846](https://github.com/facebook/zstd/pull/3846)
- Fix a nullptr dereference in ZSTD_createCDict_advanced2() by
[@&#8203;michoecho](https://github.com/michoecho) in
[https://github.com/facebook/zstd/pull/3847](https://github.com/facebook/zstd/pull/3847)
- Cirrus-CI: Add FreeBSD 14 by
[@&#8203;emaste](https://github.com/emaste) in
[https://github.com/facebook/zstd/pull/3855](https://github.com/facebook/zstd/pull/3855)
- CI: meson: use builtin handling for MSVC by
[@&#8203;eli-schwartz](https://github.com/eli-schwartz) in
[https://github.com/facebook/zstd/pull/3858](https://github.com/facebook/zstd/pull/3858)
- cli: better errors on argument parsing by
[@&#8203;KapJI](https://github.com/KapJI) in
[https://github.com/facebook/zstd/pull/3850](https://github.com/facebook/zstd/pull/3850)
- Clarify that probability tables must not contain non-zero
probabilities for invalid values by
[@&#8203;elasota](https://github.com/elasota) in
[https://github.com/facebook/zstd/pull/3817](https://github.com/facebook/zstd/pull/3817)
- \[x-compile] Fix cross-compiling for AArch64 with lld by
[@&#8203;jcelerier](https://github.com/jcelerier) in
[https://github.com/facebook/zstd/pull/3760](https://github.com/facebook/zstd/pull/3760)
- playTests.sh does no longer needs grep -E by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3865](https://github.com/facebook/zstd/pull/3865)
- minor: playTests.sh more compatible with older versions of grep by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3877](https://github.com/facebook/zstd/pull/3877)
- disable Intel CET Compatibility tests by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3884](https://github.com/facebook/zstd/pull/3884)
- improve cmake test by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3883](https://github.com/facebook/zstd/pull/3883)
- add sparc64 compilation test by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3886](https://github.com/facebook/zstd/pull/3886)
- add a lorem ipsum generator by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3890](https://github.com/facebook/zstd/pull/3890)
- Update Dependency in Intel CET Test; Re-Enable Test by
[@&#8203;felixhandte](https://github.com/felixhandte) in
[https://github.com/facebook/zstd/pull/3893](https://github.com/facebook/zstd/pull/3893)
- Improve compression of Arrays of Integers (High compression mode) by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3895](https://github.com/facebook/zstd/pull/3895)
- \[Zstd] Less verbose log for patch mode. by
[@&#8203;sandreenko](https://github.com/sandreenko) in
[https://github.com/facebook/zstd/pull/3899](https://github.com/facebook/zstd/pull/3899)
- fix
[`5921623`](https://github.com/facebook/zstd/commit/5921623844651008)
by [@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3900](https://github.com/facebook/zstd/pull/3900)
- Fix fuzz issue
[`5131069`](https://github.com/facebook/zstd/commit/5131069967892480)
by [@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3902](https://github.com/facebook/zstd/pull/3902)
- Advertise Availability of Security Vulnerability Notifications by
[@&#8203;felixhandte](https://github.com/felixhandte) in
[https://github.com/facebook/zstd/pull/3909](https://github.com/facebook/zstd/pull/3909)
- updated setup-msys2 to v2.22.0 by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3914](https://github.com/facebook/zstd/pull/3914)
- Lorem Ipsum generator update by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3913](https://github.com/facebook/zstd/pull/3913)
- Reduce scope of variables by
[@&#8203;gruenich](https://github.com/gruenich) in
[https://github.com/facebook/zstd/pull/3903](https://github.com/facebook/zstd/pull/3903)
- Improve speed of ZSTD_c_targetCBlockSize by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3915](https://github.com/facebook/zstd/pull/3915)
- More regular block sizes with `targetCBlockSize` by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3917](https://github.com/facebook/zstd/pull/3917)
- removed sprintf usage from zstdcli.c by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3916](https://github.com/facebook/zstd/pull/3916)
- Export a `zstd::libzstd` CMake target if only static or dynamic
linkage is specified. by
[@&#8203;teo-tsirpanis](https://github.com/teo-tsirpanis) in
[https://github.com/facebook/zstd/pull/3811](https://github.com/facebook/zstd/pull/3811)
- fix version of actions/checkout by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3926](https://github.com/facebook/zstd/pull/3926)
- minor Makefile refactoring by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3753](https://github.com/facebook/zstd/pull/3753)
- lib/decompress: check for reserved bit corruption in zstd by
[@&#8203;aimuz](https://github.com/aimuz) in
[https://github.com/facebook/zstd/pull/3840](https://github.com/facebook/zstd/pull/3840)
- Fix state table formatting by
[@&#8203;elasota](https://github.com/elasota) in
[https://github.com/facebook/zstd/pull/3816](https://github.com/facebook/zstd/pull/3816)
- Specify offset 0 as invalid and specify required fixup behavior by
[@&#8203;elasota](https://github.com/elasota) in
[https://github.com/facebook/zstd/pull/3824](https://github.com/facebook/zstd/pull/3824)
- update -V documentation by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3928](https://github.com/facebook/zstd/pull/3928)
- fix LLU->ULL by [@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3929](https://github.com/facebook/zstd/pull/3929)
- Fix building xxhash on AIX 5.1 by
[@&#8203;likema](https://github.com/likema) in
[https://github.com/facebook/zstd/pull/3860](https://github.com/facebook/zstd/pull/3860)
- Fix building on HP-UX 11.11 PA-RISC by
[@&#8203;likema](https://github.com/likema) in
[https://github.com/facebook/zstd/pull/3862](https://github.com/facebook/zstd/pull/3862)
- Fix AsyncIO reading seed queueing by
[@&#8203;yoniko](https://github.com/yoniko) in
[https://github.com/facebook/zstd/pull/3940](https://github.com/facebook/zstd/pull/3940)
- Use ZSTD_LEGACY_SUPPORT=5 in "make test" by
[@&#8203;embg](https://github.com/embg) in
[https://github.com/facebook/zstd/pull/3943](https://github.com/facebook/zstd/pull/3943)
- Pin sanitizer CI jobs to ubuntu-20.04 by
[@&#8203;embg](https://github.com/embg) in
[https://github.com/facebook/zstd/pull/3945](https://github.com/facebook/zstd/pull/3945)
- chore: fix some typos by
[@&#8203;acceptacross](https://github.com/acceptacross) in
[https://github.com/facebook/zstd/pull/3949](https://github.com/facebook/zstd/pull/3949)
- new method to deal with offset==0 erroneous edge case by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3937](https://github.com/facebook/zstd/pull/3937)
- add tests inspired from
[#&#8203;2927](https://github.com/facebook/zstd/issues/2927) by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3948](https://github.com/facebook/zstd/pull/3948)
- cmake refactor: move HP-UX specific logic into its own function by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3946](https://github.com/facebook/zstd/pull/3946)
- Fix [#&#8203;3719](https://github.com/facebook/zstd/issues/3719) :
mixing -c, -o and --rm by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3942](https://github.com/facebook/zstd/pull/3942)
- minor: fix incorrect debug level by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3936](https://github.com/facebook/zstd/pull/3936)
- add RISC-V emulation tests to Github CI by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3934](https://github.com/facebook/zstd/pull/3934)
- prevent XXH64 from being autovectorized by XXH512 by default by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3933](https://github.com/facebook/zstd/pull/3933)
- Stop Hardcoding the POSIX Version on BSDs by
[@&#8203;felixhandte](https://github.com/felixhandte) in
[https://github.com/facebook/zstd/pull/3952](https://github.com/facebook/zstd/pull/3952)
- Convert the CircleCI workflow to a GitHub Actions workflow by
[@&#8203;jk0](https://github.com/jk0) in
[https://github.com/facebook/zstd/pull/3901](https://github.com/facebook/zstd/pull/3901)
- Add common compressed file types to --exclude-compressed by
[@&#8203;daniellerozenblit](https://github.com/daniellerozenblit) in
[https://github.com/facebook/zstd/pull/3951](https://github.com/facebook/zstd/pull/3951)
- Export ZSTD_LEGACY_SUPPORT in tests/Makefile by
[@&#8203;embg](https://github.com/embg) in
[https://github.com/facebook/zstd/pull/3955](https://github.com/facebook/zstd/pull/3955)
- Exercise ZSTD_findDecompressedSize() in the simple decompression
fuzzer by [@&#8203;embg](https://github.com/embg) in
[https://github.com/facebook/zstd/pull/3959](https://github.com/facebook/zstd/pull/3959)
- Update `ZSTD_RowFindBestMatch` comment by
[@&#8203;yoniko](https://github.com/yoniko) in
[https://github.com/facebook/zstd/pull/3947](https://github.com/facebook/zstd/pull/3947)
- Add the zeroSeq sample by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3954](https://github.com/facebook/zstd/pull/3954)
- \[cpu] Backport fix for rbx clobbering on Windows with Clang by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3957](https://github.com/facebook/zstd/pull/3957)
- Do not truncate file name in verbose mode by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3956](https://github.com/facebook/zstd/pull/3956)
- updated documentation by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3958](https://github.com/facebook/zstd/pull/3958)
- \[asm]\[aarch64] Mark that BTI and PAC are supported by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3961](https://github.com/facebook/zstd/pull/3961)
- Use `utimensat()` on FreeBSD by
[@&#8203;felixhandte](https://github.com/felixhandte) in
[https://github.com/facebook/zstd/pull/3960](https://github.com/facebook/zstd/pull/3960)
- reduce the amount of #include in cover.h by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3962](https://github.com/facebook/zstd/pull/3962)
- Remove Erroneous Exclusion of Hidden Files and Folders in
`--output-dir-mirror` by
[@&#8203;felixhandte](https://github.com/felixhandte) in
[https://github.com/facebook/zstd/pull/3963](https://github.com/facebook/zstd/pull/3963)
- Promote `ZSTD_c_targetCBlockSize` Parameter to Stable API by
[@&#8203;felixhandte](https://github.com/felixhandte) in
[https://github.com/facebook/zstd/pull/3964](https://github.com/facebook/zstd/pull/3964)
- \[cmake] Always create libzstd target by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3965](https://github.com/facebook/zstd/pull/3965)
- Remove incorrect docs regarding ZSTD_findFrameCompressedSize() by
[@&#8203;embg](https://github.com/embg) in
[https://github.com/facebook/zstd/pull/3967](https://github.com/facebook/zstd/pull/3967)
- add line number to debug traces by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3966](https://github.com/facebook/zstd/pull/3966)
- bump version number by
[@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3969](https://github.com/facebook/zstd/pull/3969)
- Export zstd's public headers via BUILD_INTERFACE by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3968](https://github.com/facebook/zstd/pull/3968)
- Fix bug with streaming decompression of magicless format by
[@&#8203;embg](https://github.com/embg) in
[https://github.com/facebook/zstd/pull/3971](https://github.com/facebook/zstd/pull/3971)
- pzstd: use c++14 without conditions by
[@&#8203;kanavin](https://github.com/kanavin) in
[https://github.com/facebook/zstd/pull/3682](https://github.com/facebook/zstd/pull/3682)
- Fix bugs in simple decompression fuzzer by
[@&#8203;yoniko](https://github.com/yoniko) in
[https://github.com/facebook/zstd/pull/3978](https://github.com/facebook/zstd/pull/3978)
- Fuzzing and bugfixes for magicless-format decoding by
[@&#8203;embg](https://github.com/embg) in
[https://github.com/facebook/zstd/pull/3976](https://github.com/facebook/zstd/pull/3976)
- Fix & fuzz ZSTD_generateSequences by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3981](https://github.com/facebook/zstd/pull/3981)
- Fail on errors when building fuzzers by
[@&#8203;yoniko](https://github.com/yoniko) in
[https://github.com/facebook/zstd/pull/3979](https://github.com/facebook/zstd/pull/3979)
- \[cmake] Emit warnings for contradictory build settings by
[@&#8203;terrelln](https://github.com/terrelln) in
[https://github.com/facebook/zstd/pull/3975](https://github.com/facebook/zstd/pull/3975)
- Document the process for adding a new fuzzer by
[@&#8203;embg](https://github.com/embg) in
[https://github.com/facebook/zstd/pull/3982](https://github.com/facebook/zstd/pull/3982)
- Fix -Werror=pointer-arith in fuzzers by
[@&#8203;embg](https://github.com/embg) in
[https://github.com/facebook/zstd/pull/3983](https://github.com/facebook/zstd/pull/3983)
- Doc update by [@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3977](https://github.com/facebook/zstd/pull/3977)
- v1.5.6 by [@&#8203;Cyan4973](https://github.com/Cyan4973) in
[https://github.com/facebook/zstd/pull/3984](https://github.com/facebook/zstd/pull/3984)

#### New Contributors

- [@&#8203;Kim-SSi](https://github.com/Kim-SSi) made their first
contribution in
[https://github.com/facebook/zstd/pull/3600](https://github.com/facebook/zstd/pull/3600)
- [@&#8203;mredig](https://github.com/mredig) made their first
contribution in
[https://github.com/facebook/zstd/pull/3614](https://github.com/facebook/zstd/pull/3614)
- [@&#8203;dunhor](https://github.com/dunhor) made their first
contribution in
[https://github.com/facebook/zstd/pull/3636](https://github.com/facebook/zstd/pull/3636)
- [@&#8203;sighingnow](https://github.com/sighingnow) made their first
contribution in
[https://github.com/facebook/zstd/pull/3657](https://github.com/facebook/zstd/pull/3657)
- [@&#8203;nidhijaju](https://github.com/nidhijaju) made their first
contribution in
[https://github.com/facebook/zstd/pull/3688](https://github.com/facebook/zstd/pull/3688)
- [@&#8203;gjasny](https://github.com/gjasny) made their first
contribution in
[https://github.com/facebook/zstd/pull/3665](https://github.com/facebook/zstd/pull/3665)
- [@&#8203;Coder-256](https://github.com/Coder-256) made their first
contribution in
[https://github.com/facebook/zstd/pull/3700](https://github.com/facebook/zstd/pull/3700)
- [@&#8203;LocutusOfBorg](https://github.com/LocutusOfBorg) made their
first contribution in
[https://github.com/facebook/zstd/pull/3695](https://github.com/facebook/zstd/pull/3695)
- [@&#8203;void0red](https://github.com/void0red) made their first
contribution in
[https://github.com/facebook/zstd/pull/3704](https://github.com/facebook/zstd/pull/3704)
- [@&#8203;nikohoffren](https://github.com/nikohoffren) made their
first contribution in
[https://github.com/facebook/zstd/pull/3701](https://github.com/facebook/zstd/pull/3701)
- [@&#8203;alexsifivetw](https://github.com/alexsifivetw) made their
first contribution in
[https://github.com/facebook/zstd/pull/3712](https://github.com/facebook/zstd/pull/3712)
- [@&#8203;0o001](https://github.com/0o001) made their first
contribution in
[https://github.com/facebook/zstd/pull/3728](https://github.com/facebook/zstd/pull/3728)
- [@&#8203;QBos07](https://github.com/QBos07) made their first
contribution in
[https://github.com/facebook/zstd/pull/3720](https://github.com/facebook/zstd/pull/3720)
- [@&#8203;JohanMabille](https://github.com/JohanMabille) made their
first contribution in
[https://github.com/facebook/zstd/pull/3739](https://github.com/facebook/zstd/pull/3739)
- [@&#8203;klausholstjacobsen](https://github.com/klausholstjacobsen)
made their first contribution in
[https://github.com/facebook/zstd/pull/3745](https://github.com/facebook/zstd/pull/3745)
- [@&#8203;Saverio976](https://github.com/Saverio976) made their first
contribution in
[https://github.com/facebook/zstd/pull/3795](https://github.com/facebook/zstd/pull/3795)
- [@&#8203;elasota](https://github.com/elasota) made their first
contribution in
[https://github.com/facebook/zstd/pull/3806](https://github.com/facebook/zstd/pull/3806)
- [@&#8203;jondo2010](https://github.com/jondo2010) made their first
contribution in
[https://github.com/facebook/zstd/pull/3812](https://github.com/facebook/zstd/pull/3812)
- [@&#8203;gruenich](https://github.com/gruenich) made their first
contribution in
[https://github.com/facebook/zstd/pull/3807](https://github.com/facebook/zstd/pull/3807)
- [@&#8203;michoecho](https://github.com/michoecho) made their first
contribution in
[https://github.com/facebook/zstd/pull/3847](https://github.com/facebook/zstd/pull/3847)
- [@&#8203;KapJI](https://github.com/KapJI) made their first
contribution in
[https://github.com/facebook/zstd/pull/3850](https://github.com/facebook/zstd/pull/3850)
- [@&#8203;jcelerier](https://github.com/jcelerier) made their first
contribution in
[https://github.com/facebook/zstd/pull/3760](https://github.com/facebook/zstd/pull/3760)
- [@&#8203;sandreenko](https://github.com/sandreenko) made their first
contribution in
[https://github.com/facebook/zstd/pull/3899](https://github.com/facebook/zstd/pull/3899)
- [@&#8203;teo-tsirpanis](https://github.com/teo-tsirpanis) made their
first contribution in
[https://github.com/facebook/zstd/pull/3811](https://github.com/facebook/zstd/pull/3811)
- [@&#8203;aimuz](https://github.com/aimuz) made their first
contribution in
[https://github.com/facebook/zstd/pull/3840](https://github.com/facebook/zstd/pull/3840)
- [@&#8203;acceptacross](https://github.com/acceptacross) made their
first contribution in
[https://github.com/facebook/zstd/pull/3949](https://github.com/facebook/zstd/pull/3949)
- [@&#8203;jk0](https://github.com/jk0) made their first contribution
in
[https://github.com/facebook/zstd/pull/3901](https://github.com/facebook/zstd/pull/3901)

**Full Changelog**:
facebook/zstd@v1.5.5...v1.5.6

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/secretflow/spu).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
hswong3i pushed a commit to alvistack/facebook-zstd that referenced this pull request Mar 27, 2024
Reduces memory when blocks are guaranteed to be smaller than allowed by
the format. This is useful for streaming compression in conjunction with
ZSTD_c_maxBlockSize.

This PR saves 2 * (formatMaxBlockSize - paramMaxBlockSize) when streaming.
Once it is rebased on top of PR facebook#3616 it will save
3 * (formatMaxBlockSize - paramMaxBlockSize).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants