Stop after 100 iterations
It gets too slow way before that.
This commit is contained in:
parent
35960a8d29
commit
cfc2b47f45
|
@ -223,7 +223,9 @@ function step(state) {
|
||||||
} else {
|
} else {
|
||||||
throw("impossible state " + state.phase)
|
throw("impossible state " + state.phase)
|
||||||
}
|
}
|
||||||
|
if (state.n < 100) {
|
||||||
window.setTimeout(step, 100, state)
|
window.setTimeout(step, 100, state)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue