Create many objects using threads

hardcoremore via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 6 05:46:25 PDT 2014


On Tuesday, 6 May 2014 at 03:26:52 UTC, Ali Çehreli wrote:
> On 05/05/2014 04:32 PM, Caslav Sabani wrote:
>
> > So basically using threads in D for creating multiple
> instances of class is
> > actually slower.
>
> Not at all! That statement can be true only in certain 
> programs. :)
>
> Ali


But what does exactly means that Garbage Collector blocks? What
does it blocks and in which way?


And can I use threads to create multiple instance faster or that 
is just not possible?



Thanks



More information about the Digitalmars-d-learn mailing list