associative array with Parallel

jfondren julian.fondren at gmail.com
Thu Jul 22 09:02:56 UTC 2021


On Thursday, 22 July 2021 at 07:51:04 UTC, seany wrote:
>
> OK.
> Sorry for the bad question : what if i pregenerate every 
> possible key, and fill the associative array where each such 
> key contains some invalid number, say -1 ?

You mean where each value contains some invalid number, and the 
AA's keys are never changed during the parallel code? Yeah, that 
should work.



More information about the Digitalmars-d-learn mailing list