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

Extract Builder from Trace #545

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

frankmcsherry
Copy link
Member

The Trace trait has a Builder associated type, which is used automatically to build its batches. This PR extracts that type, and allows folks to use whichever builder they like, as long as it satisfies the corresponding constraints (on input and output, generally).

This further unlocks the ability to pick and choose your builder (as with your batcher), in the face of multiple container types.

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 cf97c1a 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