u/DeeBoFour20in r/C_Programming • Recommends
On “In Defense Of Linked Lists”
Well, if you're making a game that needs to run at 60+FPS, these things matter. Also, linked lists actually sometimes performed better on old hardware than arrays. Old CPUs didn't have caches and were bottlenecked by the speed of the CPU. On newer CPUs, we're bottlenecked by memory so the situation is reversed.
See this video where he benchmarked this on a modern iMac vs an old Atari system: link to this video