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

Early out for non-overlapping intervals in __and__ #66

Merged
merged 1 commit into from
Sep 12, 2021

Conversation

jefftrull
Copy link
Contributor

In cases where intervals are frequently compared against other
intervals they do not intersect with, a lot of unnecessary work is
done. This adds a shortcut for that case.

In my use case this produces roughly a 9X speedup.

In cases where intervals are frequently compared against other
intervals they do not intersect with, a lot of unnecessary work is
done. This adds a shortcut for that case.
@AlexandreDecan AlexandreDecan added the enhancement New feature or request label Sep 11, 2021
@AlexandreDecan
Copy link
Owner

Thanks, I'll have a look ath this one ASAP as well :-)

@AlexandreDecan
Copy link
Owner

LGTM :-) Thank you!

@AlexandreDecan AlexandreDecan merged commit ca7d791 into AlexandreDecan:master Sep 12, 2021
AlexandreDecan added a commit that referenced this pull request Sep 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants