4 ms·
still, in c++ you would pass an object by reference to a function call (if that object is not expected to be of very small in size). However in Rust you do hav
by MichaelMoser123 3y ago
still, in c++ you would pass an object by reference to a function call (if that object is not expected to be of very small in size).
However in Rust you do have a strong incentive to do otherwise.