News for hackers. Stuff that matters.
Re:Bulk Data Structures C++ by gpderetta on Thursday August 22, 2019 @05:23AM (#20766157)
If you want to iterate through your objects without some external mean to track the live objects (like an embedded next pointer in the object itself), then the swap and pop idiom is a better solution (iterating via indexing is going to be significantly faster than following the next pointers).

There are no comments on this comment yet.