Stop after 100 iterations

It gets too slow way before that.
This commit is contained in:
Peter J. Holzer 2020-12-28 22:59:06 +01:00 committed by Peter J. Holzer
parent 35960a8d29
commit cfc2b47f45
1 changed files with 3 additions and 1 deletions

View File

@ -223,8 +223,10 @@ function step(state) {
} else {
throw("impossible state " + state.phase)
}
if (state.n < 100) {
window.setTimeout(step, 100, state)
}
}
initial_state = ad_1()