Hi, I found that the Brotli encoder library is an order of magnitude larger than the decoder library. When compiling using MSVC for a x64 Windows target, brotlienc.lib is about 6 MB in size, whereas brotlidec.lib is only 400 kB in size.
I think the repeated usage of the lookup table in static_dict_lut.h might be what is causing the encoding library to be so much bigger.
Is there a workaround? I would be willing to accept slower compression speeds if it makes the disk footprint of the code smaller.