This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
sc-executor-wasmtime: leverage shared host functions #8252
Labels
I9-optimisation
An enhancement to provide better overall performance in terms of time-to-completion for a task.
At the moment of writing, wasmtime is about to introduce a concept of shared host functions,
bytecodealliance/rfcs#9
bytecodealliance/wasmtime#2625
This would allow us to not redefine the entire Substrate Runtime Interface upon each
WasmModule
instantiation. While it's not important for the substrate path it may be useful for PVF execution, since there we may execute a lot of short lived instances with the same interface.See also #8251 for a prerequisite refactoring and #8153
The text was updated successfully, but these errors were encountered: