> do the array get copied when you call the function

No.

> accept a sequence OR an array, in an efficient manner

openArray is the way.

Reply via email to