diff options
author | Alon Zakai <alonzakai@gmail.com> | 2019-02-25 10:04:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-25 10:04:09 -0800 |
commit | 605e2b7498a7979b59917aa5db17d5022e974c8b (patch) | |
tree | 9cf62a6a4191a8125d86b9d17f272269ea2b8834 /src/passes/pass.cpp | |
parent | f11b7e712fab6f11ce9f51b85459ab199e817cae (diff) | |
download | binaryen-605e2b7498a7979b59917aa5db17d5022e974c8b.tar.gz binaryen-605e2b7498a7979b59917aa5db17d5022e974c8b.tar.bz2 binaryen-605e2b7498a7979b59917aa5db17d5022e974c8b.zip |
SmallVector (#1912)
Trying to refactor the code to be simpler and less redundant, I ran into some perf issues that it seems like a small vector, with fixed-size storage and optional additional storage as needed, might help with. This implements that class and uses it in a few places.
This seems to help, I see some 1-2% fewer instructions and cycles in `perf stat`, but it's hard to tell if it really makes a noticeable difference.
Diffstat (limited to 'src/passes/pass.cpp')
0 files changed, 0 insertions, 0 deletions