Commit ca61e54b authored by Tim Wickberg's avatar Tim Wickberg
Browse files

Add lz4 compress/decompress logic.

Add orig_len to data structure to avoid guessing uncompressed size. Have
zlib use this as well to avoid xrealloc() calls. (Future improvement to
zlib would avoid use of the temporary buffer + memcpy calls.)

Note that this is handling each block independently. Stream mode would
be better, switch to that in the future for additional performance gains.
parent f3353c2c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment