Skip to content

use PartialOrder implementation where appropriate #328

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

Merged
merged 1 commit into from
Jul 1, 2021

Conversation

petrosagg
Copy link
Contributor

These two places had a copy pasted implementation of the PartialOrder logic so this replaces it with calling the appropriate trait implementations

These two places had a copy pasted implementation of the PartialOrder
logic so this replaces it with calling the appropriate trait
implementations

Signed-off-by: Petros Angelatos <[email protected]>
// Test to see if strict progress has occurred, which happens whenever the new
// frontier isn't equal to the previous. It is only in this case that we have any
// data processing to do.
if prev_frontier.borrow() != input.frontier().frontier() {
Copy link
Member

Choose a reason for hiding this comment

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

I think this is right. I was a bit confused about the definition of antichain equality, but it looks like the implementation equates two things that have the same elements but in different orders.

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 looks good to me, thanks!

@frankmcsherry frankmcsherry merged commit 0726c04 into TimelyDataflow:master Jul 1, 2021
@petrosagg petrosagg deleted the partial-order-use branch July 1, 2021 13:26
This was referenced Oct 29, 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