On Friday, 24 August 2018 at 13:04:47 UTC, Uknown wrote:
I was quite surprised by the fact that parallel ran so much slower than recursive and loop implementations. Does anyone know why?

n = 100 is too small to see parallelism gains.

Try n = 10000

https://run.dlang.io/is/XDZTSd

Reply via email to