|
|
|
|
|
by kqr
1145 days ago
|
|
Incidentally, iteration limits are a good idea for production code anyway. If you don't imagine any input needing more than 50 k iterations, throw a user-friendly exception after something like 10 M iterations. Prevents much more annoying problems than it causes. |
|
What could possibly go wrong.