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

perf(txpool): remove more clones #13189

Merged
merged 1 commit into from
Dec 7, 2024
Merged

Conversation

hai-rise
Copy link
Contributor

@hai-rise hai-rise commented Dec 6, 2024

No description provided.

@hai-rise hai-rise requested a review from mattsse as a code owner December 6, 2024 18:59
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

oh, sorry I didn't see this before opening #13194

smol nit

Comment on lines 471 to 472
// track changed accounts
self.sender_info.extend(changed_senders);
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we do this like #13194 (before self.process_updates) then it's obvious that this order is safe.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done, thanks!

@mattsse mattsse added the C-perf A change motivated by improving speed, memory usage or disk footprint label Dec 6, 2024
@mattsse mattsse added this pull request to the merge queue Dec 7, 2024
Merged via the queue into paradigmxyz:main with commit 4d2c576 Dec 7, 2024
41 checks passed
@hai-rise hai-rise deleted the remove-clones branch December 7, 2024 10:07
lean-apple pushed a commit to lean-apple/reth that referenced this pull request Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-perf A change motivated by improving speed, memory usage or disk footprint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants