summaryrefslogtreecommitdiff
path: root/src/tools/wasm-dis.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-02-06 00:46:37 +0000
committerGitHub <noreply@github.com>2021-02-05 16:46:37 -0800
commit51c8f2469f8fd05197b7694c65041b1567f2c6b5 (patch)
tree004877ed58384b8cccede06e872f4ed4c148670a /src/tools/wasm-dis.cpp
parent9868c3636bf1309c23213dc8ef6de4c036d6c40b (diff)
downloadbinaryen-51c8f2469f8fd05197b7694c65041b1567f2c6b5.tar.gz
binaryen-51c8f2469f8fd05197b7694c65041b1567f2c6b5.tar.bz2
binaryen-51c8f2469f8fd05197b7694c65041b1567f2c6b5.zip
Use unordered maps of Name where possible (#3546)
Unordered maps will hash the pointer, while ordered ones will compare the strings to find where to insert in the tree. I cannot confirm a speedup in time from this, though others can, but I do see a consistent improvement of a few % in perf stat results like number of instructions and cycles (and those results have little noise). And it seems logical that this could be faster.
Diffstat (limited to 'src/tools/wasm-dis.cpp')
0 files changed, 0 insertions, 0 deletions