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.
   
   
![img_v3_02tu_6f9779ff-c53b-4ccc-b707-f43354e553cg](https://github.com/user-attachments/assets/d7e05681-d840-49e6-a52b-637b9da9624a)
   
   
   ### 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]

Reply via email to