Skip to content

Conversation

@qkaiser
Copy link
Contributor

@qkaiser qkaiser commented Jun 9, 2022

Support is provided by the zstandard library recommended by ZSTD format maintainers (see https://python-zstandard.readthedocs.io/en/latest/decompressor.html).

The implementation is similar to the one we got for gzip, except we did not have to monkeypatch it this time.

More information about ZSTD can be found at https://github.com/facebook/zstd/blob/dev/doc/zstd_compression_format.md

@qkaiser qkaiser added enhancement New feature or request format:compression labels Jun 9, 2022
@qkaiser qkaiser self-assigned this Jun 9, 2022
@qkaiser qkaiser force-pushed the feat-zstd-format branch 3 times, most recently from da41d54 to 671a180 Compare June 9, 2022 09:32
Copy link
Contributor

@martonilles martonilles left a comment

Choose a reason for hiding this comment

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

I would consider not decompressing the content in the handler, rather just iterate over the block, which should be significantly faster.

@qkaiser qkaiser force-pushed the feat-zstd-format branch 2 times, most recently from fbc54e6 to 37def37 Compare June 10, 2022 15:14
qkaiser and others added 3 commits June 14, 2022 14:02
Support is provided by the zstandard library recommended by ZSTD format
maintainers (see
https://python-zstandard.readthedocs.io/en/latest/decompressor.html).

The implementation is similar to the one we got for gzip, execpt we did
not have to monkeypatch it this time.

More information about ZSTD can be found at
https://github.com/facebook/zstd/blob/dev/doc/zstd_compression_format.md
@qkaiser qkaiser force-pushed the feat-zstd-format branch from 37def37 to 786cc66 Compare June 14, 2022 12:02
@martonilles martonilles merged commit 3bd61b1 into main Jun 14, 2022
@martonilles martonilles deleted the feat-zstd-format branch June 14, 2022 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request format:compression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants