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

Move Batcher::seal to Builder #546

Merged

Conversation

frankmcsherry
Copy link
Member

This PR moves the seal method from the batcher to the builder. The seal method was generic in builder, required a leaky abstraction of key, val, and update counts, and .. had very little to do with the batcher. This opens the door to batchers that know less about the structure of their updates, in particular about the key, val structure.

@antiguru antiguru self-requested a review December 6, 2024 16:06
Copy link
Member

@antiguru antiguru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@frankmcsherry frankmcsherry merged commit dafe288 into TimelyDataflow:master Dec 6, 2024
7 checks passed
@github-actions github-actions bot mentioned this pull request Dec 6, 2024
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.

2 participants