https://issues.dlang.org/show_bug.cgi?id=10009

--- Comment #24 from [email protected] ---
(In reply to Ketmar Dark from comment #21)
> it's wrong to assume that AA has any defined order of items for
> iteration.

It's not wrong, it's a handy feature, just as in Python the default sort is
stable. Ordered dict is handy for unittesting and in other situations. And it's
handy to use built-in data structures in unittesting.


> why include language feature that is known to
> be slow when it can be reasonably fast?

Tracking the insertion order is not that slow...

--

Reply via email to