Repository navigation
Callback-based for_each_payload_block - #8766
Conversation
c90ee2d to
dc381f3
Compare
c659062 to
790924c
Compare
5526986 to
b509cb1
Compare
790924c to
b806e1e
Compare
b806e1e to
a0027ec
Compare
📝 WalkthroughWalkthroughThis pull request converts the payload-block enumeration API across the field index layer from an iterator-based pattern to a callback-driven visitor pattern. The trait method Estimated code review effort🎯 4 (Complex) | ⏱️ ~75 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
Continuation of #8764.
In this PR,
payload_blocks(…) -> Iterator<…>is replaced withfor_each_payload_block(…, f: &mut dyn FnMut).Why: same goal as in #8764. Now
iter_valuesis removed in favor offor_each_value. So, portingMmapHashMap::keysshould be easier.