The other day, at the office, we were discussing on the choice between an array and a linked list. Frankly I’d always thought that a linked list was a great alternative for complex list manipulations, and except for the cost of the pointers linking the element between them, there was no other cost when iterating over a linked list compared to an array. But things are not that simple. Lately, I fou
![Effects of CPU caches](https://cdn-ak-scissors.b.st-hatena.com/image/square/ca489a947b51eb1dfbbadd98d7b174adb18821d1/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A832%2F1%2AT8Vd2xA65koKlH9622W64w.png)