Skip to content

Conversation

@Snezhkko
Copy link
Contributor

@Snezhkko Snezhkko commented Dec 1, 2025

Removed building and returning of unused []interface{} “rates” from getWebseedsRatesForlogs/getPeersRatesForlogs and updated their call sites to use single-return values. This eliminates recurring string/slice allocations during stats updates without changing diagnostics or behavior.

@anacrolix
Copy link
Contributor

This will be redundant with #18056. Care to evaluate that PR @Snezhkko?

Copy link
Contributor

@anacrolix anacrolix left a comment

Choose a reason for hiding this comment

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

Fine to merge this if it passes tests. I will clobber it with #18056 but if that PR has any issues around removing this stuff, then this retains value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants