Stream: git-wasmtime

Topic: wasmtime / issue #2916 Don't load all instance exports in...


view this post on Zulip Wasmtime GitHub notifications bot (May 20 2021 at 14:58):

alexcrichton opened issue #2916:

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.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 17 2021 at 19:27):

alexcrichton closed issue #2916:

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.


Last updated: Nov 22 2024 at 16:03 UTC