What does Big-O actually tell you, and what does it hide?
It tells you how the cost grows as the input grows, with constants and lower-order terms deliberately thrown away. That is its value and its blind spot in the same sentence: it predicts that doubling the input roughly doubles an O(n) pass, and it says nothing about whether that pass takes a nanosecond or a network round trip. Big-O is a prediction about shape, not a measurement of time.
The honest version: O(n) with a memory-friendly access pattern routinely beats O(log n) that chases pointers, for every n you will actually see.