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

Reduce 2 iterators to one #25973

Merged
merged 1 commit into from
Jun 14, 2022
Merged

Conversation

CriesofCarrots
Copy link
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
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 <[email protected]>
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