diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2024-02-12 17:09:10 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2024-02-14 18:31:16 +0200 |
commit | f3872a59475456c5d365cad9f1c5be514cfa54b5 (patch) | |
tree | 38070fa3421729f881bb73d6c6053391482523ea /src/liblzma/rangecoder/price_table.c | |
parent | liblzma: LZMA decoder: Get rid of next_state[]. (diff) | |
download | xz-f3872a59475456c5d365cad9f1c5be514cfa54b5.tar.xz |
liblzma: Optimize LZ decoder slightly.
Now extra buffer space is reserved so that repeating bytes for
any single match will never need to copy from two places (both
the beginning and the end of the buffer). This simplifies
dict_repeat() and helps a little with speed.
This seems to reduce .lzma decompression time about 2 %, so
with .xz and CRC it could be slightly less. The small things
add up still.
Diffstat (limited to 'src/liblzma/rangecoder/price_table.c')
0 files changed, 0 insertions, 0 deletions