Skip to content

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