diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2021-01-09 21:14:36 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2021-01-09 22:18:23 +0200 |
commit | f7fa309e1f7178d04c7bedc03b73077639371e97 (patch) | |
tree | 127ac1ffc7ecb8265e98fd80c99c096c2beb5c5e /src/liblzma/simple/sparc.c | |
parent | Update THANKS. (diff) | |
download | xz-f7fa309e1f7178d04c7bedc03b73077639371e97.tar.xz |
liblzma: Make lzma_outq usable for threaded decompression too.
Before this commit all output queue buffers were allocated as
a single big allocation. Now each buffer is allocated separately
when needed. Used buffers are cached to avoid reallocation
overhead but the cache will keep only one buffer size at a time.
This should make things work OK in the decompression where most
of the time the buffer sizes will be the same but with some less
common files the buffer sizes may vary.
While this should work fine, it's still a bit preliminary
and may even get reverted if it turns out to be useless for
decompression.
Diffstat (limited to 'src/liblzma/simple/sparc.c')
0 files changed, 0 insertions, 0 deletions