refactor: removing unnecessary references in fn signatures#10703
refactor: removing unnecessary references in fn signatures#10703sylvestre merged 1 commit intouutils:mainfrom
Conversation
Merging this PR will not alter performance
Comparing Footnotes
|
|
Could you please update the clippy configuration to make sure we don't regress in the future |
already done -- this PR removes |
|
i missed it, sorry |
|
https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref @nyurik In future, please add link to the lint in PR description |
|
|
@xtqqczze should we optimize for 32 or for 64 bit platforms? I would optimize for 64 as a much more common one, and only look at specific exceptions if we identify any bottlenecks - this keeps code simpler ( I haven't seen any |
|
GNU testsuite comparison: |
…nces Address all suggestions of `clippy::trivially_copy_pass_by_ref` Seems cleaner, and I wonder if perf would be affected
|
GNU testsuite comparison: |
Address all suggestions of
clippy::trivially_copy_pass_by_refSeems cleaner, and I wonder if perf would be affected