The -Xfrontend -enable-ossa-modules
mode that you mentioned is indeed a focus this year. That makes it possible to optimize copies across module boundaries--as needed in your Array example. There is a lot more work to fully take advantage of OSSA, but this is an important step.
15 Likes