[Issue 13410] Performance problem with associative array byKey/byValue

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Oct 1 12:46:15 PDT 2014


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

--- Comment #29 from bearophile_hugs at eml.cc ---
(In reply to hsteoh from comment #27)
> @bearophile: perhaps that's an indication that what you want is actually an
> *ordered* map, not a hash map?

Nope. If you take a look at the link, that code doesn't need an ordered
container. The "pop" operation just needs to give one arbitrary item.

--


More information about the Digitalmars-d-bugs mailing list