is there a way to do this efficiently with associative arrays: aa[key]=value; auto ptr=key in aa;
without suffering the cost of the 2nd search (compiler should know ptr during aa[key]=value but it's not exposed it seems)
Timothee Cour via Digitalmars-d Mon, 05 Sep 2016 18:19:00 -0700
is there a way to do this efficiently with associative arrays: aa[key]=value; auto ptr=key in aa;
without suffering the cost of the 2nd search (compiler should know ptr during aa[key]=value but it's not exposed it seems)