aboutsummaryrefslogtreecommitdiff
path: root/lib/std/bounded_array.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-07-23 19:49:26 +0200
committerLuuk de Gram <luuk@degram.dev>2022-08-11 11:07:56 +0200
commit7e6dbd63989ed4f62b9d12fb03119b0bec1bda84 (patch)
tree34879076ce73fcaa855d990a33498e8aca1c5250 /lib/std/bounded_array.zig
parent9f1f60fd4311b37493a5297ccaac167d0270f521 (diff)
downloadzig-7e6dbd63989ed4f62b9d12fb03119b0bec1bda84.tar.gz
zig-7e6dbd63989ed4f62b9d12fb03119b0bec1bda84.zip
wasm: Use free-lists for unused locals
When a local is no longer needed (for instance, it was used as a temporary during arithmetic), it can be appended to one of the typed freelists. This allows us to re-use locals and therefore require less locals, reducing the binary size, as well as runtime initialization.
Diffstat (limited to 'lib/std/bounded_array.zig')
0 files changed, 0 insertions, 0 deletions