I saw 18062 and started hacking away at a simple deflate compressor according to rfc 1951.
I am confused as how to implement the compressor without passing an allocator as requested in the the issue.
I implemented the data structures required for the LZ77 component (hash_chain, sliding_window and the lookahead_buffer).
They increase the size of the executable 4-5x ,from 2mb to 8-10mb, depending on the optimize mode . which makes sense, as there are multiple buffers.
Have I misunderstood the issue? should the allocators be used after all the keep the executable small? maybe allocators should be passed to the compressor's methods (like UnManaged versions of the stdlib datastructures)?
Thanks in advanced!