diff options
author | Alon Zakai <azakai@google.com> | 2023-05-05 09:43:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 09:43:36 -0700 |
commit | 426070cace6a3a2e5e95656623c325a53a4b924b (patch) | |
tree | f614fcc5858fb1ee0d2e177a156680bc9382f3f4 /src/wasm/wasm.cpp | |
parent | 879d7bfb0fcd8335892677fd6d24a2f02218a6c2 (diff) | |
download | binaryen-426070cace6a3a2e5e95656623c325a53a4b924b.tar.gz binaryen-426070cace6a3a2e5e95656623c325a53a4b924b.tar.bz2 binaryen-426070cace6a3a2e5e95656623c325a53a4b924b.zip |
[NFC] Scan first in UniqueNameMapper (#5696)
We can scan far faster than the name mapping process itself, so do that
first, as in the common case nothing needs to be fixed up.
This together with #5697 significantly reduces the overhead in
--inlining-optimizing of UniqueNameMapper, from something like
50% to 10%.
Diffstat (limited to 'src/wasm/wasm.cpp')
0 files changed, 0 insertions, 0 deletions