Reword the caveats on array::map by scottmcm · Pull Request #126100 · rust-lang/rust (original) (raw)

Thanks to #107634 and some improvements in LLVM (particularly dead_on_unwind), the method actually optimizes reasonably well now.

So focus the discussion on the fundamental ordering differences where the optimizer might never be able to fix it because of the different behaviour, and keep encouraging Iterator::map where an array wasn't actually ever needed.