Fast-Nop2843414dBasically, you don't use linked lists. Their only advantage is O(1) insertion/deletion, but the lookup is already O(N) anyway. Also, they tend to trash CPU caches and prediction. Actually, vector is faster.
Stroustrup on why you should avoid linked lists: https://youtube.com/watch/...
NoMad713914dKeep It Simple, Stupid 😜 (rule of KISS)