Open kimstik opened 1 year ago
If you mean limiting the block size, there is the BLOCK_SIZE
define.
I'm looking for how to reduce the back-reference window size on decoder size. LZ4 block format require 64k one. BLOCK_SIZE seems to be more related to framing - max block size inside of frame (8M)
:) got it. thanks!
if (pos == NO_MATCH_POS || cur - pos > 65535 || num_chain-- == 0) {
Ah, I see -- glad you found it!
I'm looking for optimal compression with limited resources to decompress. In my case it is 16k available RAM. LZ4x of Ilya Muravyov is easily tweakable for that case. I couldn't figure out how to do it correctly for blz4 ;(