deflate/zip: impl compress_stream() and optimizations#2963
Draft
ManuLinares wants to merge 7 commits intoc3lang:masterfrom
Draft
deflate/zip: impl compress_stream() and optimizations#2963ManuLinares wants to merge 7 commits intoc3lang:masterfrom
compress_stream() and optimizations#2963ManuLinares wants to merge 7 commits intoc3lang:masterfrom
Conversation
*this was a chore to merge* I'll review this later ``` implement `compress_stream` dyn huffman + compress fastpass various optimizations 11-bit lookup table for Huffman decoding 128bit simd vector moves for matches to maximise throughput rebuilt the bitstream reader around a 64bit buffer and refactored the decoder into a tight hot loop to eliminate statr machine overhead and align the sliding window to 64bit boundaries add `test_deflate_embedded_stream()` test add more zip tests ```
duplicated code while merging :( add missing block terminator symbols
Contributor
|
I think that |
Collaborator
|
Please look at deflate, because I had to update it. |
81405d8 to
0bcd61b
Compare
0bcd61b to
099c3f2
Compare
Contributor
Author
Done, I still couldn't debug why it breaks in windows and alpine. |
Collaborator
|
First thing I'd check is if it works if the vector usage is removed. |
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.
this was a chore to merge
I'll review this later