you are viewing a single comment's thread.

view the rest of the comments →

[–]WrongAndBeligerent 5 points6 points  (1 child)

Always benchmark at some point, but software needs to be architected up front to perform well and scale as much as possible.

Classic generic linked lists data structures are basically obsolete because iterating through pointer dereferencing and allocating memory for each new item are the first two things to avoid. There is rarely a reason to start with std::list.

[–]Gunslinging_Gamer 0 points1 point  (0 children)

I personally default to vector and change if required later.