-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[FIX] Venn Diagram is slow for big datasets #4400
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4400 +/- ##
==========================================
+ Coverage 87.19% 87.43% +0.24%
==========================================
Files 401 405 +4
Lines 72938 73990 +1052
==========================================
+ Hits 63595 64692 +1097
+ Misses 9343 9298 -45 |
55ae682
to
259ab93
Compare
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.
This is quite a work. Nice tricks in the code, too.
I started commenting, but then found it easier to do the changes myself (they are just, minor, stylistic) and comment on them. Please review my changes and reject them if any of them are wrong.
I spent some time on trying to follow and understand the code, but I'll have to invest some more time -- or let you explain it to me on Friday.
Run the widget (from main). Select a few regions. In "Rows (instances)" change the combo to some attribute. It crashes. If it doesn't switch to the other attribute. It crashes then. The error occurs |
I think reshaping should do the trick. I also removed relevant_keys parameter, since indices already contain that information in create_from_rows. |
Run widget from main. Use rowwise, by instance. Click Output duplicates and select some area. Widget crashes with
|
Run widget from main. Use rowwise. Match by "Test". Check Output duplicates and select some (non-empry) area. Widget crashes with
|
This crash was caused by Test being a StringVariable only by name, but not by nature :) |
I see. It's heart wasn't in it. :) |
Issue
Fixes #3989
Description of changes
Refactored venn over rows.
TODO:
Includes