"pause" garbage collection in parallel code

Artem Tarasov via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 15 03:22:27 PST 2014


I had the same situation, and ended up with the malloc/free 
option. It's also often possible to get rid of allocations in a 
loop by pre-allocating thread-local buffers and reusing them 
throughout (see std.parallelism.TaskPool.workerLocalStorage).


More information about the Digitalmars-d mailing list