Repository navigation
Speeding up copying of objects - #559
Merged
Merged
Conversation
passing the h5group directly instead of the source. This leaks even more backend stuff to the front-end classes than before, but since we are not going to implement another backend soon, who cares
jgrewe
requested review from
achilleas-k
and
a balanced review from Copilot
and removed request for
Copilot
October 25, 2026 15:30
Member
Author
|
@achilleas-k would be great if you could cross-check. I hope I did not overlook any side-effects... |
Copilot stopped reviewing on behalf of
jgrewe due to an error
October 25, 2026 15:31
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
achilleas-k
approved these changes
Oct 27, 2026
achilleas-k
left a comment
Member
There was a problem hiding this comment.
This all looks very sane to me. I don't have as good a grasp of all the details here as I used to, so I can only say this appears valid and it works, so I'm trusting you about the performance improvements :)
LGTM
This was
linked to
issues
Oct 27, 2026
achilleas-k
reviewed
Oct 27, 2026
Comment on lines
-282
to
285
| grp = self.group | ||
| dest.open_group(cls, create=True) | ||
| dest_grp = dest.group[cls] | ||
| grp = self.group | ||
| grp.copy(source=source, dest=dest_grp, name=name, shallow=shallow) |
Member
There was a problem hiding this comment.
This change is unrelated to the commit (and ineffectual) but that's fine.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pr should fix issues #557, #558, and #527
For historical reasons (we used to use the uuid of the objects as h5group names in early versions) the copy* functions were still performing the searches.
Thank you @drodarie for reporting and the suggested fix!