[Rpm-maint] [rpm-software-management/rpm] zstd compression: port to the new API. (#1303)
marxin
notifications at github.com
Wed Jul 8 11:39:10 UTC 2020
Port zstd compression to the new API (ZSTD_compressStream2).
My motivation is to eventually enable multi-threaded compression which can help packages like Firefox where there's a single huge rpm that is being compressed.
Once the change is accepted, the following one-liner will enable parallel compression:
```c
ZSTD_CCtx_setParameter(cctx, ZSTD_c_nbWorkers, 4);
```
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/1303
-- Commit Summary --
* zstd compression: port to the new API.
-- File Changes --
M rpmio/rpmio.c (68)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/1303.patch
https://github.com/rpm-software-management/rpm/pull/1303.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1303
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200708/7acfc804/attachment.html>
More information about the Rpm-maint
mailing list