2 ms·
And realistically in many cases you won't even notice the indexing as you'll either be iterating over the array or using an array operator rather than accessing
by dagw 8y ago
And realistically in many cases you won't even notice the indexing as you'll either be iterating over the array or using an array operator rather than accessing elements via an index. And in the remaining cases, much of the time whether the index is 0-based or 1-based won't affect the way the final code looks. Still, it's nice to have the option to 0-index in the few cases where it does make your code cleaner.