You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My use case involves compressing many small streams that share similar data distribution characteristics. LZ4/ZSTD offer prepending to the de/compressor state some prebaked 'dictionary' of common matches that can radically improve ratio and timings. A simple and powerful tool.
Is optional dictionary support compatible with the goals of this project? If so, is it a planned feature?
Best,
Jesse
The text was updated successfully, but these errors were encountered:
I added stream & multi-thread support for libdeflate, code at stream_mt , more ref #335
this work added new API libdeflate_deflate_compress_block() & libdeflate_deflate_decompress_block() can by used for this request.
first, you need to create a 32k text dictionary with other tools.
concatenate the short data you want to compress behind this dictionary data buffer each time, and then call the compress function like this:
when decompressing, you must use the same dictionary and place it in the uncompressed data buffer, and after calling the decompress function, your uncompressed short data will be placed behind the dictionary data; call the decompress function like this:
Hi, thanks for the great library.
My use case involves compressing many small streams that share similar data distribution characteristics. LZ4/ZSTD offer prepending to the de/compressor state some prebaked 'dictionary' of common matches that can radically improve ratio and timings. A simple and powerful tool.
Is optional dictionary support compatible with the goals of this project? If so, is it a planned feature?
Best,
Jesse
The text was updated successfully, but these errors were encountered: