Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

frankmcsherry
Copy link
Member

Our merge logic seemed to ignore the singleton optimization, and just watched the length of the times member, presuming that it would grow in proportion to the number of updates produced. That .. used to be true. But with the optimization times doesn't need to grow at all, if all updates have the same times. This is common in a snapshot, for example. This seems to have the potential to be very disruptive when such a merge happens.

@frankmcsherry frankmcsherry requested a review from antiguru June 24, 2025 23:20
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.

Yep, the logic seems wrong. Thanks for the fix!

@frankmcsherry
Copy link
Member Author

Fwiw I think there is a clearer fix, that vals_offs has the right length, but .. I'm reworking this code at the moment and it should all be even clearer soon.

@frankmcsherry frankmcsherry merged commit 48f11f7 into TimelyDataflow:master Jun 25, 2025
5 checks passed
@github-actions github-actions bot mentioned this pull request Jun 24, 2025
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