imageworks/OpenShadingLanguage — pull request #187 by lgritz (2012-12-14 18:07:09+00:00)
Title: Allow whole-array assignment:  array1 = array2

The work was just on the compiler side; the runtime was already able to copy whole arrays.

This is a lot easier and less expensive than having to write a loop over all the elements when copying an entire array.

It only works for '=', the math assignments (+=, *=, etc.) do not operate on arrays.