3 ms·
> switched to external because that was much more conducive to optimisations Source? I thought conventional wisdom was that internal iteration was much easier
by creata 5y ago
> switched to external because that was much more conducive to optimisations
Source? I thought conventional wisdom was that internal iteration was much easier for compilers to digest.
- masklinn 5y agohttps://mail.mozilla.org/pipermail/rust-dev/2013-June/004364.html https://mail.mozilla.org/pipermail/rust-dev/2013-June/004364... Was probably the main starting point for that change. Though I misremembered performances being the main gist of the switch, ergonomics and flexibility were. With https://www.reddit.com/r/rust/comments/5ez38g/rusts_iterators_are_inefficient_and_heres_what_we/ https://www.reddit.com/r/rust/comments/5ez38g/rusts_iterator... as the… not counterpoint but reintroduction of internal iterators. Linking to the Reddit thread rather that the article directly because lots of comments from important rust folks.