[chore] Refactor looping mechanic
RebootJeff opened this issue · comments
Right now, repeated checks are done via recursion. But I'm worried this could lead to a slow-but-steady growth in memory usage.
The repetition could be refactored to use an iterative loop instead of recursion.