Error running concurrent process and storing results in array

drug drug2004 at bk.ru
Wed May 6 07:47:59 UTC 2020


06.05.2020 10:42, data pulverizer пишет:
> On Wednesday, 6 May 2020 at 07:27:19 UTC, data pulverizer wrote:
>> On Wednesday, 6 May 2020 at 06:54:07 UTC, drug wrote:
>>> Thing are really interesting. So there is a space to improve 
>>> performance in 2.5 times :-)
>>> Yes, `array` is smart enough and if you call it on another array it 
>>> is no op.
>>> What means `--fast` in Chapel? Do you try `--fast-math` in ldc? Don't 
>>> know if 05 use this flag
>>
>> I tried `--fast-math` in ldc but it didn't make any difference the 
>> documentation of `--fast` in Chapel says "Disable checks; 
>> optimize/specialize".
> 
> Just tried removing the boundscheck and got 1.5 seconds in D!
> 

Congrats! it looks like the thriller!
What about cpu usage? the same 40%?


More information about the Digitalmars-d-learn mailing list