summaryrefslogtreecommitdiff
path: root/test/mem.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-09-27 09:29:26 -0700
committerGitHub <noreply@github.com>2021-09-27 09:29:26 -0700
commit11552aef2a36cb90c0d7087644871777cc4a0ef7 (patch)
treec961f45ef5e5e4eb6c541d3cc7b84a0e283efe0a /test/mem.cpp
parentab3811dafb27edd81f919d0096630014184b3836 (diff)
downloadbinaryen-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