associative array with Parallel
seany
seany at uni-bonn.de
Thu Jul 22 10:34:05 UTC 2021
On Thursday, 22 July 2021 at 09:02:56 UTC, jfondren wrote:
> 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.
Yes, the keys are never changed during the parallel code
execution. keys are pre-generated.
More information about the Digitalmars-d-learn
mailing list