Re: [RFA] Use std::vector for moribund_locations

Tom Tromey
2018-07-04T04:55:12Z

>>>>> "Simon" == Simon Marchi <simark@simark.ca> writes:

Simon> Just a note that this changes an "unordered remove" to an "ordered remove".
Simon> If we don't need to keep the relative order of the remaining elements, it
Simon> might be good performance-wise to keep the original behavior. This could
Simon> be done by keeping the original code structure (iterating by index) and
Simon> calling undordered_remove.

Somewhere else, Pedro pointed out the unordered_remove template function
in common/gdb_vecs.h.

Tom