Repository navigation
Conversation
doesn't (yet) bind against the full advanced API, just enough to support parallel compression.
This was referenced May 1, 2026
jkachmar
commented
May 1, 2026
Comment on lines
+37
to
+46
| , zstd_c_compressionLevel | ||
| , zstd_c_nbWorkers | ||
| , zstd_c_jobSize | ||
| , zstd_c_overlapLog | ||
| , zstd_e_continue | ||
| , zstd_e_flush | ||
| , zstd_e_end | ||
| , zstd_reset_session_only | ||
| , zstd_reset_parameters | ||
| , zstd_reset_session_and_parameters |
Author
There was a problem hiding this comment.
i pretty much reflected the libzstd names as-is; i wasn't really sure if there was a better approach as compared to just exposing them all from this module
jkachmar
commented
May 1, 2026
Comment on lines
+148
to
+164
| -- | @ZSTD_c_overlapLog@ compression parameter, sets the overlap of consecutive | ||
| -- jobs in multi-threaded mode, as a fraction of window size; larger values | ||
| -- increase compression ratio, but decrease speed. | ||
| -- | ||
| -- Range @0..9@: | ||
| -- | ||
| -- * @0@ = library default, varies between 6 and 9 depending on compression strategy | ||
| -- * @1@ = no overlap | ||
| -- * @9@ = full window | ||
| -- | ||
| -- Each intermediate rank halves the previous overlap: | ||
| -- | ||
| -- * @9@: @w@ | ||
| -- * @8@: @w\/2@ | ||
| -- * @7@: @w\/4@ | ||
| -- | ||
| -- ...and so on until @1@ (none). |
Author
There was a problem hiding this comment.
i think the Python library's overlap_log documentation is a little better than what i wrote here
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
description
doesn't (yet) bind against the full advanced API, just enough to support parallel compression.