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

store-free output module optimization #330

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

colindickson
Copy link
Contributor

optimized start of output stream in developer mode when start block is in reversible segment and output module does not have any stores in its dependencies

Copy link
Contributor

@sduchesneau sduchesneau left a comment

Choose a reason for hiding this comment

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

LGTM, just skip the computation of maxHandoff

@@ -94,6 +106,10 @@ func computeLinearHandoffBlockNum(productionMode bool, startBlock, stopBlock uin
if err != nil {
return startBlock, nil
}

if !stateRequired {
Copy link
Contributor

Choose a reason for hiding this comment

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

move this to line 105 to avoid computation

@colindickson colindickson force-pushed the stateless-linear-handoff branch from e754459 to a67f5f2 Compare October 26, 2023 18:05
…s in reversible segment and output module does not have any stores in its dependencies
@colindickson colindickson force-pushed the stateless-linear-handoff branch from a67f5f2 to 0a4289d Compare October 26, 2023 18:07
@colindickson colindickson merged commit 0a4289d into develop Oct 26, 2023
1 of 3 checks passed
@sduchesneau sduchesneau deleted the stateless-linear-handoff branch April 25, 2024 18:22
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