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

feat(ethexe): Skip queue reading from storage if its empty #4464

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ByteNacked
Copy link
Member

Resolves # .

@reviewer-or-team

@ByteNacked ByteNacked self-assigned this Jan 23, 2025
@ByteNacked ByteNacked added the A0-pleasereview PR is ready to be reviewed by the team label Jan 23, 2025
loop {
// Send tasks to process programs in workers, until all queues are empty.
// Filter out programs with empty queue
let filtered_states: Vec<_> = in_block_transitions
Copy link
Member Author

@ByteNacked ByteNacked Jan 23, 2025

Choose a reason for hiding this comment

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

It's possible to avoid allocation here, but not sure if it's needed

@ByteNacked ByteNacked changed the title feat(ethexe): Add is_queue_empty flag to ProgramState feat(ethexe): Skip queue reading from storage if its empty Jan 24, 2025
@ByteNacked
Copy link
Member Author

@grishasobol fixed your suggestion

@ByteNacked ByteNacked requested a review from ark0f January 24, 2025 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A0-pleasereview PR is ready to be reviewed by the team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant