[Issue 13136] Optimize double lookup from if (v in assocArray) { return assocArray[v]; }
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 14 06:42:15 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=13136
Marco de Wild <nanayamae at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |nanayamae at gmail.com
Resolution|--- |FIXED
--- Comment #2 from Marco de Wild <nanayamae at gmail.com> ---
I found this issue when browsing and I propose closing it as fixed.
https://dlang.org/spec/hash-map.html#inserting_if_not_present
In the meanwhile single-lookup assoc. array operations were added.
--
More information about the Digitalmars-d-bugs
mailing list