This change mirrors this PR in the upstream library: https://github.com/antonmedv/finder/pull/84
This prevents a scenario where a very large number of combinations are generated and causes memory exhaustion.
Checklist
[x] Does your PR title have the correct title format?
Summary
This change mirrors this PR in the upstream library: https://github.com/antonmedv/finder/pull/84 This prevents a scenario where a very large number of combinations are generated and causes memory exhaustion.
Checklist