diff options
author | Alon Zakai <azakai@google.com> | 2020-04-07 19:53:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-07 19:53:15 -0700 |
commit | c8a1489f2720ccde4aa79f68f4bb75cc1b20d579 (patch) | |
tree | 4d9ac99372c4a04f1b763c99d972da16b510f57f /scripts/test | |
parent | e77d85fecd2bfe707f3e9b7ab84cfd6744bdc7b7 (diff) | |
download | binaryen-c8a1489f2720ccde4aa79f68f4bb75cc1b20d579.tar.gz binaryen-c8a1489f2720ccde4aa79f68f4bb75cc1b20d579.tar.bz2 binaryen-c8a1489f2720ccde4aa79f68f4bb75cc1b20d579.zip |
Optimize ReorderLocals maps to vectors (#2727)
The original code here is quite old and I guess we assumed
that it was ok to use maps for this, but on really huge amounts
of locals it ends up mattering a lot. This makes the pass 3x
faster on poppler after --flatten --flatten (double flatten creates
lots of new locals, and is generally similar to what wasm2js
does).
Diffstat (limited to 'scripts/test')
0 files changed, 0 insertions, 0 deletions