[Issue 9119] [AA] Forward range addition to associative arrays.
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jan 8 15:37:46 PST 2015
https://issues.dlang.org/show_bug.cgi?id=9119
--- Comment #14 from bearophile_hugs at eml.cc ---
(In reply to hsteoh from comment #12)
> So this both satisfies the OP's original request (for .key and .value) and
> later requests for Tuple compatibility.
Yes, of all the possible solutions, I think the current is one of the few
acceptable ones.
One point worth studying is the run-time efficiency of using byPair using the
dmd compiler. I have seen a slowdown compared to using byKeyValue (but I have
not done formal benchamarks).
--
More information about the Digitalmars-d-bugs
mailing list