diff options
author | Alon Zakai <azakai@google.com> | 2022-01-14 08:55:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-14 08:55:47 -0800 |
commit | 31e8803e9fa6164797ebcd53371dbcee3e6bc0e2 (patch) | |
tree | 2849df71f16ca501b6ea4f93231ebbc01d068a2d /src/wasm/wasm-binary.cpp | |
parent | 6cb41eca43b8a6045b0138545c6b4fcdfcf4448a (diff) | |
download | binaryen-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