you are viewing a single comment's thread
view the rest of the comments
[–] 10 points 2 years ago

On modern computers, linked lists are rarely a good option for performance. The overhead of the memory allocator and the non-sequential layout (which results in CPU memory cache misses) means that dynamic arrays are surprisingly faster even for random inserts on very long lists.

  • source