[rust-dev] Fwd: &self/&mut self in traits considered harmful(?)

Patrick Walton pcwalton at mozilla.com
Mon Jun 16 15:19:45 PDT 2014


On 6/16/14 3:17 PM, Cameron Zwarich wrote:
> I stated the right case, but the wrong reason. It’s not for
> vectorization, it’s because it’s not easy to reuse the storage of a
> matrix while multiplying into it.

Wouldn't most matrices be implicitly copyable (and thus optimized--or at 
least optimizable--into by-ref at the ABI level)?

Patrick



More information about the Rust-dev mailing list