On 1/29/14 7:20 PM, Samuel Williams wrote:
What about constant folding? Surely let mut x = 10 is easier for the
compiler to optimise?

In less advanced compilers, that may be true. But Rust internally converts everything to SSA, so there is no difference.

Patrick

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to