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

Define ConsolidateLayout for FlatStack in terms of MergerChunk #515

Closed

Conversation

antiguru
Copy link
Member

I'm not sure about this. It's a gross change as it pulls behavior across
unrelated places, but I'm also not sure how to implement without
effectively duplicating the MergerChunk. What might work is a trait that
extends MergerChunk and just adds the cmp_without_diff function.

The main purpose for this to exist is so that I can use ConsolidateLayout with other regions than the single implementation, otherwise its impossible to have a more specific implementation, for example to support different kinds of regions.

Signed-off-by: Moritz Hoffmann [email protected]

@antiguru antiguru force-pushed the consolidate_layout_merger_chunk branch from b9fb3d0 to 88aaa0e Compare June 28, 2024 14:48
Signed-off-by: Moritz Hoffmann <[email protected]>
I'm not sure about this. It's a gross change as it pulls behavior across
unrelated places, but I'm also not sure how to implement without
effectively duplicating the `MergerChunk`. What might work is a trait that
extends `MergerChunk` and just adds the `cmp_without_diff` function.

Signed-off-by: Moritz Hoffmann <[email protected]>
Signed-off-by: Moritz Hoffmann <[email protected]>
Signed-off-by: Moritz Hoffmann <[email protected]>
Signed-off-by: Moritz Hoffmann <[email protected]>
@antiguru antiguru force-pushed the consolidate_layout_merger_chunk branch from 88aaa0e to 04a2446 Compare June 28, 2024 17:50
@antiguru
Copy link
Member Author

antiguru commented Jul 2, 2024

Superseded by #518

@antiguru antiguru closed this Jul 2, 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.

1 participant