Re: Q: xz multi-threaded compression support and dpkg-dev
On Thu, 2015-11-12 at 22:32:07 +0900, Hideki Yamane wrote:
> Just a question, newer xz-utils has multi-threaded compression support(*).
> >> * liblzma:
> >> - Added support for multi-threaded compression.
> If debian would introduce that version, can we get any benefit from this
> for dpkg-dev?
> *) http://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;hb=HEAD
AFAICS if the threading is enabled in the xz-utils build, then the xz
tool should opportunistically make use of the threaded encoder. That
would cover dpkg-source transparently.
For the dpkg-deb code, switching to use the multithreaded encoder is
rather easy, but given that the libdpkg/dpkg-deb code is not thread-safe
at all, overall it would be way more tricky.
But, yes we'd first need the library to be available in testing at