Skip to content

Conversation

@nyurik
Copy link

@nyurik nyurik commented Feb 1, 2025

Manually clean up uninlined_format_args clippy lint. Some of these changes cause about 5% performance improvements because format!("{}", &var) does not need a reference and cannot be optimized by the compiler (but in thees cases the perf difference is less important)

Manually clean up [`uninlined_format_args`](https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args) clippy lint.  Some of these changes cause about 5% performance improvements because `format!("{}", &var)` does not need a reference and cannot be optimized by the compiler (but in thees cases the perf difference is less important)
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.

1 participant