xz: Take advantage of LZMA_FULL_BARRIER with --block-list.
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 22 Oct 2013 16:51:55 +0000 (19:51 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 22 Oct 2013 16:51:55 +0000 (19:51 +0300)
commitba413da1d5bb3324287cf3174922acd921165971
tree2cf0bff915d531e97eed46fdc065f281a52a622b
parent0cd45fc2bc5537de287a0bc005e2d67467a92148
xz: Take advantage of LZMA_FULL_BARRIER with --block-list.

Now if --block-list is used in threaded mode, the encoder
won't need to flush at each Block boundary specified via
--block-list. This improves performance a lot, making
threading helpful with --block-list.

The flush timer was reset after LZMA_FULL_FLUSH but since
LZMA_FULL_BARRIER doesn't flush, resetting the timer is
no longer done.
src/xz/coder.c