Commit 2e3ac30
Optimize lookups from wasm SIDE_MODULEs into MAIN_MODULE (emscripten-core#6437)
In current dynamic linking, the MAIN_MODULE's js sets up functions to provide all its exports. We had overly-dynamic code there that assumes those functions can change over time, but they can't.
This speeds up some benchmarks by a very large factor (5x or even more).1 parent c448c43 commit 2e3ac30
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1388 | 1388 | | |
1389 | 1389 | | |
1390 | 1390 | | |
1391 | | - | |
| 1391 | + | |
| 1392 | + | |
1392 | 1393 | | |
1393 | 1394 | | |
1394 | 1395 | | |
| |||
0 commit comments