5 ms·
Is it better to pass the length of the array, or a pointer to the last valid address in the array? (or one past that) There's probably an advantage in the two t
by flingo 8y ago
Is it better to pass the length of the array, or a pointer to the last valid address in the array? (or one past that)
There's probably an advantage in the two types being the same.
Thought of this as I was reading the article.
- jibal 8y agoThe length is better, since that's almost always what you want. > There's probably an advantage in the two types being the same. Not really.