void aFunction(double[] arr) { double importantElement = arr[3]; ... use importantElement ... }
But the above, I suppose, introduces an extra copy operation?
albert-j via Digitalmars-d-learn Sat, 14 Jan 2017 07:16:10 -0800
void aFunction(double[] arr) { double importantElement = arr[3]; ... use importantElement ... }
But the above, I suppose, introduces an extra copy operation?