Skip to content

Add Dictionary Compression support #2

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

Merged
merged 1 commit into from
Sep 19, 2016

Conversation

nobuf
Copy link
Contributor

@nobuf nobuf commented Sep 16, 2016

I've added zstd_compress_usingcdict() and zstd_decompress_usingcdict(). The code is mostly a copy of the example on zstd.

I wasn't sure if I should use uncompress. I thought decompress would be better as same as the zstd's original function. Let me know if there's any specific reason.

Thanks.

@kjdev kjdev merged commit d2b6226 into kjdev:master Sep 19, 2016
@kjdev
Copy link
Owner

kjdev commented Sep 19, 2016

Thanks.

@nobuf nobuf deleted the nobuf/add-dictionary-compression branch September 19, 2016 21:23
pld-gitsync pushed a commit to pld-linux/php-pecl-zstd that referenced this pull request Mar 17, 2020
031- Warning: zstd_compress: compression level (-1) must be within 1..22 in %s on line %d
032- -1 -- 0 -- false
033- 0 -- 3547 -- false

kjdev/php-ext-zstd#2
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