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

Support for Gipfeli compression in the PushDeserializer #1801

Merged
merged 10 commits into from
Apr 29, 2018

Conversation

pleroy
Copy link
Member

@pleroy pleroy commented Apr 25, 2018

No description provided.

@pleroy
Copy link
Member Author

pleroy commented Apr 26, 2018

retest this please

1 similar comment
@pleroy
Copy link
Member Author

pleroy commented Apr 26, 2018

retest this please

@pleroy
Copy link
Member Author

pleroy commented Apr 26, 2018

retest this please

@@ -149,6 +189,75 @@ TEST_F(PushDeserializerTest, Stream) {
EXPECT_EQ(23, stream_.ByteCount());
}

TEST_F(PushDeserializerTest, DeserializationGipfeli) {
Compressor* compressor = google::compression::NewGipfeliCompressor();
Copy link
Member

Choose a reason for hiding this comment

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

"must be deleted after use", says the comment. We should have a MakeGipfeliCompressor wrapper that returns std::unique_ptr (probably same comment for the decompression test).

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

@eggrobin eggrobin added the LGTM label Apr 29, 2018
@pleroy pleroy merged commit 1fb1138 into mockingbirdnest:master Apr 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants