diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-04-14 12:59:09 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-04-14 13:00:40 +0300 |
commit | 0adc13bfe32c14f3e4c6ce9f2d4fdf4112ab53f4 (patch) | |
tree | 3be604a3828ab11f6286340bec3df3a5ddbe946a /extra | |
parent | xz: Changes to --memlimit-compress and --no-adjust. (diff) | |
download | xz-0adc13bfe32c14f3e4c6ce9f2d4fdf4112ab53f4.tar.xz |
xz: Make -T0 use multithreaded mode on single-core systems.
The main problem withi the old behavior is that the compressed
output is different on single-core systems vs. multicore systems.
This commit fixes it by making -T0 one thread in multithreaded mode
on single-core systems.
The downside of this is that it uses more memory. However, if
--memlimit-compress is used, xz can (thanks to the previous commit)
drop to the single-threaded mode still.
Diffstat (limited to 'extra')
0 files changed, 0 insertions, 0 deletions