RebootJeff / cowGoesMoo

If only CVS and Walgreens built wait lists for the COVID vaccine
GNU General Public License v3.0
11 stars 3 forks source link

[chore] Refactor looping mechanic #23

Closed RebootJeff closed 3 years ago

RebootJeff commented 3 years ago

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.