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.