In my class, I have a method that returns an array like this.
double arrValues[] = ClassX.getValues();
I wonder that, does the array size have any influence on performance. Are there any copy operation for arrValues[] or is it only a reference return ?