When LLD creates Wasm output, it should compress the data by splitting the memory initializer around runs of zeros, which are redundant. This should work because the Memory starts off zero-initialised I believe? A large zero-initialised array shouldn't take any space in the output file.
When LLD creates Wasm output, it should compress the data by splitting the memory initializer around runs of zeros, which are redundant. This should work because the Memory starts off zero-initialised I believe? A large zero-initialised array shouldn't take any space in the output file.