problem with parallel foreach
Rikki Cattermole via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue May 12 09:35:21 PDT 2015
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
>
> As per Rick's first suggestion (thanks) I added
> import core.memory : GC;
> main()
> GC.disable;
> GC.reserve(1024 * 1024 * 1024);
>
> ... to no avail.
>
> thanks for all the help so far.
> Gerald
>
> ps. I am using GDC 4.9.2 and don't have DMD on that server
Well atleast we now know that it isn't caused by memory
allocation/deallocation!
Would it be possible to give us some example data?
I might give it a go to try rewriting it tomorrow.
More information about the Digitalmars-d-learn
mailing list