WTF! Parallel foreach more slower that normal foreach in multicore CPU ?

Zardoz luis.panadero at gmail.com
Fri Jun 24 01:19:04 PDT 2011


Thanks !!! Now I'm getting a more logical result. I get  1407ms normal vs 759ms in parallel foreach with logs[20_000_000]
It's strange that clock() do weird things with threading, not ?

PD: It's me, or http version of the forum do strange things, like not getting correct javascript action for the buttons if you hover from one to other ??


More information about the Digitalmars-d-learn mailing list