aboutsummaryrefslogtreecommitdiff
path: root/lib/std/multi_array_list.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-09-10 19:38:19 +0200
committerLuuk de Gram <luuk@degram.dev>2022-09-12 21:19:16 +0200
commit6dbf5f1d8686c1f5b31f3dfce9b1ac0944f8e3a5 (patch)
tree47480b99b6c92dd133a177f60be140d47b4c1d56 /lib/std/multi_array_list.zig
parenta01b1448e2927146cde9f7861605585f96b5084d (diff)
downloadzig-6dbf5f1d8686c1f5b31f3dfce9b1ac0944f8e3a5.tar.gz
zig-6dbf5f1d8686c1f5b31f3dfce9b1ac0944f8e3a5.zip
wasm-linker: write to file at once
Rather than writing to the file using a writer, we now first write to an arraylist and store the binary in memory. Once the full binary data was written, we write all data to disk at once. This reduces the amount of syscalls tremendously, increasing the performance of the linker in exchange for increased memory usage during flush.
Diffstat (limited to 'lib/std/multi_array_list.zig')
0 files changed, 0 insertions, 0 deletions