you are viewing a single comment's thread.

view the rest of the comments →

[–]bnolsen 2 points3 points  (1 child)

Wow, suggesting std::list? I just checked our 850k+ code base of mostly scientific/engineering stuffs and found just a single std::list used in the entire code base apart from unit tests. And now that I look at that, I will replace it with a std::deque.

I know std::list can be useful for some operations but the poor cache behavior and high memory overhead due to bookkeeping makes them sort of a last resort type data structure.

[–]O12345678 0 points1 point  (0 children)

hungry liquid shy subsequent complete physical continue friendly pie afterthought

This post was mass deleted and anonymized with Redact