-
Notifications
You must be signed in to change notification settings - Fork 310
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
Issue #3692: Modified methods to use zstdmt
binary
#3703
Conversation
Thank you for the PR, @PromiseFru! Could you please test/execute the change code locally to confirm that it is working?
Please add the linking keyword in the description
The scope of the issue concerns the decompression tasks only.
Originally |
Hello @suhaibmujahid I ran the tests that focused on the methods I had updated, and all of them passed. I have attached their logs below: pytest -vk "test_zstd_compress_decompress" test_zstd_compress_decompress.txt pytest -vk "test_extract_db_zst" |
Thank you, @PromiseFru! We have now BTW. If you add a test, it will run automatically on our CI. |
Hello @suhaibmujahid, I appreciate your feedback. I've included a pytest -vk "test_create_extract_tar_zst" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @PromiseFru! LGTM!
Couldn't |
I advised in #3703 (comment) to only change the decompressing functions to stay in the scope of issue #3692. I will create a separate issue for that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Closes #3692
Hello @marco-c @suhaibmujahid,
I've made changes to the
zstd_decompress
andextract_tar_zst
methods. They now use thezstdmt
binary instead of thezstd
binary for decompression tasks.Please, I wish to find out if this change is needed just for decompression tasks, or should I update other methods like
zstd_compress
andcreate_tar_zst
that use thezstd
binary for compression.Additionally, I noticed the presence of the
zstandard
Python library, alongside the use of thezstd
binary for certain tasks. I'm curious about why both are used when they seem to perform similar tasks.