problem with parallel foreach

Laeeth Isharc via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 12 12:10:12 PDT 2015


On Tuesday, 12 May 2015 at 18:14:56 UTC, Gerald Jansen wrote:
> On Tuesday, 12 May 2015 at 16:35:23 UTC, Rikki Cattermole wrote:
>> On 13/05/2015 4:20 a.m., Gerald Jansen wrote:
>>> At the risk of great embarassment ... here's my program:
>>> http://dekoppel.eu/tmp/pedupg.d
>>
>> Would it be possible to give us some example data?
>> I might give it a go to try rewriting it tomorrow.
>
> http://dekoppel.eu/tmp/pedupgLarge.tar.gz (89 Mb)
>
> Contains two largish datasets in a directory structure expected 
> by the program.

I haven't had time to read code closely.  But if you disable the 
logging does that change things?  If so, how about having the 
logging done asynchronously in another thread?

And are you using optimization on gdc ?


More information about the Digitalmars-d-learn mailing list