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

Batch container for flat stack #505

Merged
merged 1 commit into from
May 29, 2024

Conversation

antiguru
Copy link
Member

Adds a flat layout to store batches in flat container, and a blanket implementation for flat stack to implement batch container. Switches Differential's into owned trait with flat container's variant.

Adds a flat layout to store batches in flat container, and a blanket
implementation for flat stack to implement batch container. Switches
Differential's into owned trait with flat container's variant.

Signed-off-by: Moritz Hoffmann <[email protected]>
R: Ord + Clone + Semigroup + Columnation + Containerized + 'static,
for<'a> R::Region: Region<Owned=R> + Push<R> + Push<<R::Region as Region>::ReadItem<'a>>,
for<'a> <R::Region as Region>::ReadItem<'a>: Copy + Ord,
for<'a> R: PartialEq<<R::Region as Region>::ReadItem<'a>>,
Copy link
Member Author

Choose a reason for hiding this comment

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

Could be that some of the regions in flat container don't have a proper PartialEq implementation.

Copy link
Member

@frankmcsherry frankmcsherry left a comment

Choose a reason for hiding this comment

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

This all looks good to me.

@antiguru antiguru merged commit c8f8917 into TimelyDataflow:master May 29, 2024
7 checks passed
@antiguru antiguru deleted the flatcontainer_blanket branch May 29, 2024 09:38
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