Linked List vs. Array: Cache Misses' Performance Hit

Accessing elements in a linked list can be 10-100x slower than an array due to scattered memory locations leading to frequent cache misses, forcing the CPU to fetch data from much slower main memory.

Sources

Open the full topic