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

upgrade lz4_flex to 0.8 #1049

Merged
merged 2 commits into from
May 19, 2021
Merged

upgrade lz4_flex to 0.8 #1049

merged 2 commits into from
May 19, 2021

Conversation

PSeitz
Copy link
Contributor

@PSeitz PSeitz commented May 18, 2021

No description provided.

@@ -9,31 +9,42 @@ pub const COMPRESSION: &str = "lz4_block";

pub fn compress(uncompressed: &[u8], compressed: &mut Vec<u8>) -> io::Result<()> {
compressed.clear();
let maximum_ouput_size = lz4_flex::block::get_maximum_output_size(uncompressed.len());
compressed.reserve(maximum_ouput_size);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome

@fulmicoton
Copy link
Collaborator

It does not seem to build, can you have a look? @PSeitz

@PSeitz
Copy link
Contributor Author

PSeitz commented May 18, 2021

@fulmicoton my "improvement" before committing didn't seem to work, should work now

@fulmicoton fulmicoton merged commit 249bc6c into quickwit-oss:main May 19, 2021
This was referenced Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants