3 ms·
Well, gzip is general purpose. A binary format would be aware of JS' semantics and possibly yield much higher compression rates. In fact, WASM's binary format
by AriaMinaei 11y ago
Well, gzip is general purpose. A binary format would be aware of JS' semantics and possibly yield much higher compression rates.
In fact, WASM's binary format is intended to be that way and apparently is yields more compression than using only gzip: https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md#why-a-binary-encoding-instead-of-a-text-only-representation https://github.com/WebAssembly/design/blob/master/BinaryEnco...