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

[FIX] Disable __eq__ and __hash__ because it can be slow #713

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

markotoplak
Copy link
Collaborator

It can be so slow that it appears Orange has crashed.

With @borondics we had a workshop in Berlin and preprocessing appeared to crash for most students. We thus downgraded to a previous version.

After debugging I saw that a series of preprocessors causes domain comparisons to be very long (for example, after normalization, each feature in turn references the whole original domain, and then equality checking just multiplies).

It can be so slow that it appears Orange has crashed.
@markotoplak
Copy link
Collaborator Author

I intend to merge this and re-release.

Copy link

codecov bot commented Mar 26, 2024

Codecov Report

Merging #713 (40bed24) into master (ff7c581) will decrease coverage by 0.39%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #713      +/-   ##
==========================================
- Coverage   88.53%   88.15%   -0.39%     
==========================================
  Files          73       73              
  Lines       12613    12613              
==========================================
- Hits        11167    11119      -48     
- Misses       1446     1494      +48     

@markotoplak markotoplak merged commit dc04a35 into Quasars:master Mar 26, 2024
15 of 16 checks passed
@markotoplak markotoplak deleted the disable-eq-hash branch July 10, 2024 14:03
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