Repository navigation
Deferred updates by filter - #8485
Conversation
timvisee
left a comment
There was a problem hiding this comment.
Thanks for all the tests.
I like that we extracted the existing selection logic for deletions into a reusable function.
| let present: Vec<_> = all_matched_points | ||
| .iter() | ||
| .copied() | ||
| .filter(|point_id| segment.has_point(*point_id)) |
There was a problem hiding this comment.
Can we maybe already filter out points_to_keep here, instead of using .retain() below?
d9aefe4 to
78d693d
Compare
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThis PR refactors deferred point handling in filtered operations within Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
* deferred updates by filter * Don't use points.retain() --------- Co-authored-by: jojii <[email protected]>
* deferred updates by filter * Don't use points.retain() --------- Co-authored-by: jojii <[email protected]>
This PR extends #8389 and applies such an idea to all updates by filter, not only deletion by filter