[Issue 13136] Optimize double lookup from if (v in assocArray) { return assocArray[v]; }
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Jul 15 13:45:22 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13136
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #1 from bearophile_hugs at eml.cc ---
(In reply to Mark Isaacson from comment #0)
> He suggested that I post an enhancement request to make these compile to
> equivalent code.
Note that LDC already performs this optimization.
--
More information about the Digitalmars-d-bugs
mailing list