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

How to make copy-free decompression? #57

Closed
Moelf opened this issue Oct 5, 2021 · 1 comment
Closed

How to make copy-free decompression? #57

Moelf opened this issue Oct 5, 2021 · 1 comment

Comments

@Moelf
Copy link

Moelf commented Oct 5, 2021

With LZ4 one can pass a source pointer and a destination pointer to a Julia function to avoid copying result over:
https://github.com/tamasgal/UnROOT.jl/pull/128/files#diff-525588e68b2421901be164965272940effa093de733a3fd36c4b9a4344b8c20cR154

how to do it with Zlib? We're aware that ZStream is stateful, so it's not exactly straightforward, but it may be worth providing such a function? Happy to make a PR

@Moelf
Copy link
Author

Moelf commented Dec 6, 2021

jakobnissen/LibDeflate.jl#1 use LibDeflate

@Moelf Moelf closed this as completed Dec 6, 2021
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

No branches or pull requests

1 participant