Re:Rust and Go
by kinghajj on Friday November 07, 2014 @10:54PM
(#8575935)
Well then, good news! Such usages of iterators in Rust are almost always result in the same code that would be generated by old-fashioned, hand-written loops. The 'trick' is that the methods (and the closure!) are inlined, and generics are specialized at compile time.
[ Parent
| on HN ]
There are no comments on this comment yet.