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

Simon Marchi
2018-07-11T01:21:12Z

On 2018-07-09 01:10 PM, Tom Tromey wrote:
>>>>>> "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.
>
> How's this?
>
> Tom

LGTM!

Simon