wasmerio/wasmer

Improve import creation times

Opened this issue · 0 comments

Right now, Offchain labs is seeing 50% of their time spent on creating an import object for a Store.

They reuse the same Engine, but use multiple stores for that engine… so they need to create imports each time.

It may be worth to have a ImportObject::clone_in_store(&self, new_store: &Store, environment_clone: Function<>)