-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Lazy parameters adaptation (part 1 - ZSTD_c_stableInBuffer) #2974
Merged
Merged
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
5684bae
minor refactoring
Cyan4973 c0c5ffa
streaming compression : lazy parameter adaptation with stable input
Cyan4973 37b87ad
make stableSrc compatible with regular streaming API
Cyan4973 27d336b
minor behavior refinements
Cyan4973 4b9d1dd
fixed incorrect comment
Cyan4973 8296be4
pretend consuming input to provide a sense of forward progress
Cyan4973 270f9bf
better consistency in accessing @input
Cyan4973 c1668a0
fix extended case combining stableInBuffer with continue() and flush(…
Cyan4973 af3d9c5
added streaming test starting from non-0 pos
Cyan4973 b99ece9
converted checks into user validation generating error codes
Cyan4973 cbff372
added helper function inBuffer_forEndFlush()
Cyan4973 dda4c10
added ZSTD_compressStream2() + ZSTD_c_stableInBuffer test
Cyan4973 f2d9652
more usage of new error code stabilityCondition_notRespected
Cyan4973 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ZSTD_checkBufferStability()
is currently usingsrcBuffer_wrong
anddstBuffer_wrong
. If you're going to add this code, can you please switch them over too?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, good idea