The Rust Programming Language Forum
Rust's forcing of using pointers when writing a variable/ printing it
help
SebastianJL
November 16, 2023, 10:41am
12
If you require it, measure it. That's the simple answer. Everything else is guesswork.
TWiR quote of the week
show post in topic
Related topics
Topic
Replies
Views
Activity
What is faster? `Copy` or passing reference?
help
17
6559
September 9, 2022
(optimisation) Always pass by reference when not moving?
help
7
684
November 5, 2023
Is a Type That's 1024 bytes More Efficient to Reference or Copy?
help
4
1486
October 7, 2020
Clippy `trivially_copy_pass_by_ref` lint
help
1
1045
October 25, 2018
`&u64` vs. `u64` as input
help
7
1670
November 13, 2019