-
-
Notifications
You must be signed in to change notification settings - Fork 719
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
Reduce memory usage during culling for shuffling and merge #8197
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.
If CI doesn't mind, happy to merge
parts_out = parts_out or self._keys_to_parts(keys) | ||
keys = {(self.name_input_left, i) for i in range(self.npartitions)} | ||
keys |= {(self.name_input_right, i) for i in range(self.npartitions)} | ||
keys = frozenset(keys) |
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.
maybe add a comment why this is a frozenset. Using a frozenset is a bit uncommon and if we're honest this is just paranoia / testing
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.
added
Co-authored-by: Florian Jetter <[email protected]>
Unit Test ResultsSee test report for an extended history of previous test failures. This is useful for diagnosing flaky tests. 21 files ± 0 21 suites ±0 9h 40m 1s ⏱️ - 1h 19m 13s For more details on these failures, see this check. Results for commit e4cd8f9. ± Comparison against base commit 1650ceb. |
Closes #8196
pre-commit run --all-files
Not sure if we can add tests here that would actually help. memory spike is gone on this branch