total change for optimized asmjs: about -10 KB, webassembly: -5 KB. Gains back some of the cost from adding miniz, but not all (+57 KB and +29 KB). Before using miniz at all, to now using lodepng with miniz, +47 KB (optimized asmjs) and +24 KB (wasm).
Reduce code duplication from https://github.com/satoshinm/NetCraft/pull/125 Add miniz 2.5.0, a zip file decompression library
total change for optimized asmjs: about -10 KB, webassembly: -5 KB. Gains back some of the cost from adding miniz, but not all (+57 KB and +29 KB). Before using miniz at all, to now using lodepng with miniz, +47 KB (optimized asmjs) and +24 KB (wasm).