diff options
author | Alon Zakai <azakai@google.com> | 2021-09-27 09:29:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-27 09:29:26 -0700 |
commit | 11552aef2a36cb90c0d7087644871777cc4a0ef7 (patch) | |
tree | c961f45ef5e5e4eb6c541d3cc7b84a0e283efe0a /test/mem.cpp | |
parent | ab3811dafb27edd81f919d0096630014184b3836 (diff) | |
download | binaryen-11552aef2a36cb90c0d7087644871777cc4a0ef7.tar.gz binaryen-11552aef2a36cb90c0d7087644871777cc4a0ef7.tar.bz2 binaryen-11552aef2a36cb90c0d7087644871777cc4a0ef7.zip |
Inlining: Remove unneeded functions in linear time (#4190)
By mistake the recent partial inlining work introduced quadratic time into
the compiler: erasing a function from the list of functions takes linear time,
which is why we have removeFunctions that does a group at a time.
This isn't noticeable on small programs, but on j2cl output this makes the
inlining-optimizing step 2x faster.
See #4165
Diffstat (limited to 'test/mem.cpp')
0 files changed, 0 insertions, 0 deletions