diff options
author | Philip Pfaffe <philip.pfaffe@gmail.com> | 2021-01-27 20:45:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-27 11:45:46 -0800 |
commit | 1b950a1c4eb7b1a0a1d71c7e68e223fe57fdff66 (patch) | |
tree | 184ec9fbbce636838d95aa332c1454bc551e0c37 /src/wasm-builder.h | |
parent | 5331e9d18b9359aa0e9d6e0df455883f62e46ea0 (diff) | |
download | binaryen-1b950a1c4eb7b1a0a1d71c7e68e223fe57fdff66.tar.gz binaryen-1b950a1c4eb7b1a0a1d71c7e68e223fe57fdff66.tar.bz2 binaryen-1b950a1c4eb7b1a0a1d71c7e68e223fe57fdff66.zip |
Memcpy data instead of bytewise copies (#3521)
wasm-finalize currently makes byte-wise copies of section data in the
user and data sections. If the section is large, that's extraordinarily
expensive. With a memcpy instead I see a speedup of 1.6 for a large
wasm binary with DWARF data.
Diffstat (limited to 'src/wasm-builder.h')
0 files changed, 0 insertions, 0 deletions