How many std.concurrency receivers?

Sean Kelly sean at invisibleduck.org
Thu Oct 11 13:53:05 PDT 2012


On Oct 11, 2012, at 12:39 PM, thedeemon <dlang at thedeemon.com> wrote:

> My biggest concern here is with this number of agents communicating to each other via message passing it would mean huge number of memory allocations for the messages, but in current D runtime allocation is locking (and GC too), so it may kill all the parallelism if reactions to messages are short and simple. D is no Erlang in this regard.

I've experimented with using free lists for message data but didn't see any notable speedup.  If someone can produce an example where allocations are a limiting factor, I'd be happy to revisit this.


More information about the Digitalmars-d-learn mailing list