-
Notifications
You must be signed in to change notification settings - Fork 373
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 faster semi and antijoin #2641
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Impressive timings!
Co-authored-by: Milan Bouchet-Valat <[email protected]>
I have refactored the code following your suggestions. The code is now faster in some specific cases (as I was able to switch from CI fails because of breaking changes in 1.7. I will fix it in separate PRs. |
Co-authored-by: Milan Bouchet-Valat <[email protected]>
Thank you! |
Fixes #2340
This is the last PR for making joins faster.
Here are the benchmarks against 0.22.5 release. As before we are either much faster or comparable.
semi_022_5.txt
semi_pr.txt
The only small problem is code duplication. I would prefer to avoid it, but first I wanted to make sure we have thing correct and fast. The problem is that duplicate methods get different arguments and are minimally different (in other words: we use exactly the same high level logic, but collect and pass around different information as the resulting join is different since it involves only left table).