"pause" garbage collection in parallel code

ponce via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 15 04:37:04 PST 2014


On Monday, 15 December 2014 at 11:12:55 UTC, Stephan Schiffels 
wrote:
> 3.) Most of the memory is used in one huge array, perhaps I 
> should simply use malloc and free for that particular array to 
> avoid the GC from running so often.
>

Yes. That way you know with certainty the GC won't scan it.


More information about the Digitalmars-d mailing list