Skip to content
Snippets Groups Projects
Commit 9b28d1c5 authored by Josh Holmer's avatar Josh Holmer Committed by Thomas Daede
Browse files

Pass small copy types by value

It is more performant to pass small types which implement `Copy` by
value, because they can be passed directly through registers. Clippy is
conservative with this lint and optimizes for 32-bit architectures. The
setting can be overridden in `clippy.toml` if we choose to further
optimize for 64-bit architectures.
parent 271d1c76
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment