Open Bug 2087618 Opened 15 days ago Updated 4 days ago

Consider caching the CoreModuleType on wasm::ModuleMetadata for ESM linking

Categories

(Core :: JavaScript: WebAssembly, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: dminor, Unassigned)

References

(Blocks 1 open bug)

Details

From https://phabricator.services.mozilla.com/D334964#inline-1786152, we might want to cache the CoreModuleType to avoid repeated work while linking wasm esms. The implementation of WasmModuleExecute in Bug 2030454 has a cache keyed by ModuleMetadata, but that lasts for only a single call.

Severity: -- → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.