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 {
|
||||
throw("impossible state " + state.phase)
|
||||
}
|
||||
window.setTimeout(step, 100, state)
|
||||
if (state.n < 100) {
|
||||
window.setTimeout(step, 100, state)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue