Wasm bytecode optimization methods, execution methods, computer devices, and storage media
AssigneeAnt Blockchain Technology (Shanghai) Co., Ltd.
InventorsWei ZHOU, Lei ZHANG
Life of this patent
Estimating the term…
Loading patent…
AssigneeAnt Blockchain Technology (Shanghai) Co., Ltd.
InventorsWei ZHOU, Lei ZHANG
Estimating the term…
A WebAssembly (Wasm) bytecode optimization method and device is provided. In an implementation, the method includes: reading and parsing Wasm bytecode to obtain a Wasm module object, generating a linear memory and filling the linear memory based on the Wasm module object, executing a start function in the Wasm module object and modifying the linear memory based on an execution result of the start function, replacing a corresponding data segment in the Wasm module object with data in a modified linear memory, and encoding a Wasm module obtained by replacing the data segment and storing the encoded Wasm module as Wasm bytecode.
A method comprising:
A computing device, comprising:
A non-transitory, computer-readable medium storing one or more instructions executable by at least one processor to perform operations comprising:
Dependencies are inferred from the claim text.