HuaHuaY opened a new pull request, #48851: URL: https://github.com/apache/arrow/pull/48851
### Rationale for this change Reduce zstd compression/decompression resource consumption by reusing context. ### What changes are included in this PR? `ZSTDCodec` will create a context lazily. ### Are these changes tested? Yes. I improved the benchmark to test different compression level. And I test in my private environment. The above is the benchmark of this PR, and the following is the original one.  ### Are there any user-facing changes? No. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
