summaryrefslogtreecommitdiff
path: root/scripts/foreach.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-04-25 13:20:50 -0700
committerGitHub <noreply@github.com>2022-04-25 13:20:50 -0700
commit20938231c095b7d71c1f41c6c664991d822ee097 (patch)
treed22aeb9ffbcb0a2d6f5323a73c709b54d1f716f1 /scripts/foreach.py
parent23a1a79603d5d102b82558c7822eaa1bbed16fd2 (diff)
downloadbinaryen-20938231c095b7d71c1f41c6c664991d822ee097.tar.gz
binaryen-20938231c095b7d71c1f41c6c664991d822ee097.tar.bz2
binaryen-20938231c095b7d71c1f41c6c664991d822ee097.zip
wasm-reduce: Try to remove functions from a random place (#4612)
Previously we'd only try to remove functions from index 0, so we missed some opportunities. With this change we still go through all the functions if things go well, but we start from a deterministic random location in the vector.
Diffstat (limited to 'scripts/foreach.py')
0 files changed, 0 insertions, 0 deletions