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

First cut at neu key-only spine #439

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

frankmcsherry
Copy link
Member

First cut at ord_neu::OrdKeySpine. Lots of copy/pasta, and opportunities for bugs. Though, many of them caught because the vals names went away. Should do some testing. Also, the PR removes ord and layers, which is an opinionated take. At least, comments them out and sets default traces to ord_neu. We can delete once we are more certain.

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

Comment on lines +886 to +888
self.result.updates.push(item);
}
Copy link
Member

Choose a reason for hiding this comment

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

(Not for this PR) We should allow to pre-size updates so it won't have to reallocate on push.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, I hoped it was. Isn't it formed with_capacity in each of the constructors?

Copy link
Member Author

Choose a reason for hiding this comment

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

Note: very possibly due to the optimization that may go from large to small to large again.

@frankmcsherry frankmcsherry merged commit 98a61c8 into TimelyDataflow:master Dec 1, 2023
1 check passed
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