summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-binary.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-01-14 08:55:47 -0800
committerGitHub <noreply@github.com>2022-01-14 08:55:47 -0800
commit31e8803e9fa6164797ebcd53371dbcee3e6bc0e2 (patch)
tree2849df71f16ca501b6ea4f93231ebbc01d068a2d /src/wasm/wasm-binary.cpp
parent6cb41eca43b8a6045b0138545c6b4fcdfcf4448a (diff)
downloadbinaryen-31e8803e9fa6164797ebcd53371dbcee3e6bc0e2.tar.gz
binaryen-31e8803e9fa6164797ebcd53371dbcee3e6bc0e2.tar.bz2
binaryen-31e8803e9fa6164797ebcd53371dbcee3e6bc0e2.zip
Add fast paths for Literals::getType (#4454)
In the common case, avoid allocating a vector and calling malloc. This makes us over 3x faster on the benchmark in #4452
Diffstat (limited to 'src/wasm/wasm-binary.cpp')
0 files changed, 0 insertions, 0 deletions