Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Reduce 2 iterators to one#25973

Merged
mergify[bot] merged 1 commit intosolana-labs:masterfrom
CriesofCarrots:reduce-iters
Jun 14, 2022
Merged

Reduce 2 iterators to one#25973
mergify[bot] merged 1 commit intosolana-labs:masterfrom
CriesofCarrots:reduce-iters

Conversation

@CriesofCarrots
Copy link
Copy Markdown
Contributor

Problem

Replay's blockstore_processor iterates through transaction batches twice to pull out lock results and then transactions. Could be done in one iteration instead.

Summary of Changes

Combine iterators into one (prep for adding another array in #25688)

Copy link
Copy Markdown
Contributor

@lijunwangs lijunwangs left a comment

Choose a reason for hiding this comment

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

lgtm

@CriesofCarrots CriesofCarrots added the automerge Merge this Pull Request automatically once CI passes label Jun 14, 2022
@mergify mergify Bot merged commit 8a3d48b into solana-labs:master Jun 14, 2022
mergify Bot pushed a commit that referenced this pull request Jun 14, 2022
(cherry picked from commit 8a3d48b)
mergify Bot added a commit that referenced this pull request Jun 15, 2022
(cherry picked from commit 8a3d48b)

Co-authored-by: Tyera Eulberg <tyera@solana.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

automerge Merge this Pull Request automatically once CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants