One calculation for any index.
transcript
Index five, or index seventy three thousand. Which one is slower to read? Neither. They cost the same. Here is why.
An array is one block of equal slots. The block starts at address five thousand. Each slot is four bytes wide. Slot one starts at five thousand four. Slot five starts at five thousand twenty.
The rule is one line. Address equals base plus i times size. It is one multiplication and one addition. The array never searches for an entry.
Now take index seventy three thousand. Seventy three thousand times four, plus five thousand. That is two hundred ninety seven thousand. One calculation, the same as for index five.
Reading is cheap because the slots have no gaps. The same fact makes a middle insert costly. Every entry after the index must move. That cost is the next idea.
One block, equal slots, one calculation. Full breakdown in the lecture.