stacks-network / clarity-wasm

`clar2wasm` is a compiler for generating WebAssembly from Clarity.
GNU General Public License v3.0
12 stars 11 forks source link

Improve `contract-call?` implementation #468

Open obycode opened 1 month ago

obycode commented 1 month ago

Currently, calling another contract involves spinning up a separate Wasm VM to execute the callee, then return results to the caller, which is quite resource intensive. It would be much better to instead load the callee and link it into the caller's VM.

obycode commented 1 month ago

Note: this change might help with issue #409.