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

Add remove_data method #119

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

adamcircle
Copy link

@adamcircle adamcircle commented Nov 15, 2022

Hello @chaimleib,

Firstly, much thanks to you and co-contributors for building this excellent library.

I have a use case in which I want to delete intervals which are tagged with a certain data. The changes I propose add a remove_data(...) method which removes all intervals containing the data. If the optional set of points points argument is filled, only intervals which overlap any of these points and also contain the given data will be removed. Providing points lends a considerable speedup, as the only other way to remove points with certain data, as far as I can see, is to rebuild the entire tree.

Please let me know your thoughts.

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

Successfully merging this pull request may close these issues.

1 participant