Why does std.concurrency.Mailbox use lists ?
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Wed Sep 10 00:43:05 PDT 2014
On 9/9/14, 1:47 PM, Sean Kelly wrote:
> See above. I think the optimization of the list is a good idea
> regardless. I've also been considering adding free lists for
> discarded messages to avoid GC allocations. I did this when
> originally writing std.concurrency but it didn't actually seem to
> speed things up when profiling. This probably deserves a revisit.
I think freelists are what the doctor prescribed. -- Andrei
More information about the Digitalmars-d
mailing list