Currently after instantiating an instance we immediately load all instance exports into Store-like objects along the lines of Func, Global, etc. If you only end up using one or two items from an Instance, however, this could be a slowdown for instantiation if a module has a lot of exports. We should likely experiment with strategies which don't require insertion of items eagerly into the store and consider doing this lazily as items are later requested.
Currently after instantiating an instance we immediately load all instance exports into
Store-like objects along the lines ofFunc,Global, etc. If you only end up using one or two items from anInstance, however, this could be a slowdown for instantiation if a module has a lot of exports. We should likely experiment with strategies which don't require insertion of items eagerly into the store and consider doing this lazily as items are later requested.