by immibis2 · 2w ago · 0 comments
Don't be too afraid of inserts in the middle - benchmark it to be sure, but you shuffle 100-1000 entries in a dynamic array in the time it can read 1-2 list nodes (with clear cache in both cases). The performance difference is so utterly insane that you need to avoid linked lists at all costs.
No comments yet.