scala/scala — pull request #1586 by retronym (2012-11-07 07:30:38+00:00)
Title: Optimize primitive Array(e1, ..., en)

Expands an existing optimization for reference arrays to
apply to primitives, as well.

Fixes one aspect of SI-6247.

Review by @paulp. The only difference from last time you saw this is `copyAttrs`.