Closed Moelf closed 2 years ago
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
https://github.com/jakobnissen/LibDeflate.jl/issues/1 use LibDeflate
LibDeflate
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