It seems to me that it would be easier on the end user to have it return an array, but if the list gets really big a reference might be better.
When is it best to return an array, and when is it better to return a reference to an array?
melguin.
In reply to Advantages to returning array vs. reference by melguin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |