Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: exit early on 'empty' #43

Open
roycewilliams opened this issue Mar 10, 2023 · 0 comments
Open

feature: exit early on 'empty' #43

roycewilliams opened this issue Mar 10, 2023 · 0 comments

Comments

@roycewilliams
Copy link
Contributor

A 'nice' to have, and only if it's easy to detect:

if there are no elements left in the target, quit early - stop removing, and skip reading additional files.

A naive way to do this might be accumulate the number of removed elements, and if it exceeds the target element count, quit. But I'm not sure if this is a robust method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant