Re:Rust, Lifetimes, and Collections
by dbaupp on Wednesday November 19, 2014 @04:21PM
(#8632689)
Rust uses an industrial strength optimiser (LLVM) and the analysis you list is all rather standard. As others have said, one usually doesn't need manual indexing in loops, and even if it is required, an obvious loop like that is quite transparent to the compiler.
In any case, it's an implementation detail of the compiler, not a language thing.
In any case, it's an implementation detail of the compiler, not a language thing.