Skip to content

Conversation

reject-i
Copy link
Contributor

Found some redundant Arc::clone(&Arc::new(client)) calls in the file_client tests. This is basically creating an Arc and immediately cloning it which is unnecessary work. Changed it to just Arc::new(client). Small performance improvement for test runs and cleaner code overall. Two instances fixed on lines 818 and 893.

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.

fair

@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Oct 21, 2025
@mattsse mattsse merged commit 792b82d into paradigmxyz:main Oct 21, 2025
41 of 42 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants