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

Work towards Batcher unification #553

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

frankmcsherry
Copy link
Member

@frankmcsherry frankmcsherry commented Dec 8, 2024

The MergeBatcher implementation is shared across multiple implementations, that re-do fairly similar work. This PR attempts to extract their differences into compact support traits they can implement, largely about how to read from and write into containers, while in the process of merging.

The PR is meant to be largely behavior preserving, with some light glitches here and there around the elegance with which one can manipulate the general objects. I'm 100% up for discussing those as part of review, and either shipping or prioritizing any fixes for them. Examples include: 1. dropping some containers in the act of merging (the final containers in a chain), 2. calling unwrap() far too often, rather than destructuring.

No hurry to merge, but did want to put this in place so we can start looking at it.

Although the PR reads as fairly LOC positive, several hundred are a new columnar.rs example meant to exercise the non-privileged access to these traits and types. Also, the PR does not yet git rm the columnation merger which is now dead code, nor is it yet able to get the flat container merger to build (???) so it cannot be removed.

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