Should Julia be able to optimize away small temporary arrays?

The TLDR is that it should, and that there is current work in the compiler on escape analysis that facilitates this type of operation.

15 Likes