alexcrichton opened Issue #2525:
This issue is intended to track this TODO where we're compiling way too many trampolines for module-linking-using modules. With module linking enabled each module has a "global" list for itself and all its submodules of all types and type signatures used. Each module then also complies all of those trampolines in that list each time, meaning we compile way too many trampolines too many times.
Wasmtime should instead compile all the trampolines only once, and then share the trampolines amongst all modules.
alexcrichton closed Issue #2525:
This issue is intended to track this TODO where we're compiling way too many trampolines for module-linking-using modules. With module linking enabled each module has a "global" list for itself and all its submodules of all types and type signatures used. Each module then also complies all of those trampolines in that list each time, meaning we compile way too many trampolines too many times.
Wasmtime should instead compile all the trampolines only once, and then share the trampolines amongst all modules.
Last updated: Dec 23 2024 at 12:05 UTC