Skip to content

zlib: add dictionary support to zstdCompress and zstdDecompress#59240

Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom
lluisemper:59105
Aug 4, 2025
Merged

zlib: add dictionary support to zstdCompress and zstdDecompress#59240
nodejs-github-bot merged 1 commit intonodejs:mainfrom
lluisemper:59105

Conversation

@lluisemper
Copy link
Copy Markdown
Contributor

Adds optional dictionary support to zlib’s zstdCompress and zstdDecompress APIs. This enables better compression ratios when the dictionary matches expected input structure or content patterns.

The implementation allows passing a dictionary buffer through the options object. Support was added to both streaming and convenience methods. Tests and documentation were also updated to reflect this new capability.

Fixes: #59105

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. semver-minor PRs that contain new features and should be released in the next minor version. zlib Issues and PRs related to the zlib subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dictionary support for zstd

3 participants